# HG changeset patch # User Anthony Ly # Date 1370259196 -7200 # Node ID dd2fbf4c998fdddf5c46dc20e01d34143b075214 # Parent 0e030a8977eda5e8ee2f08a205a6ed0ec528e6d3 hide add new on modal diff -r 0e030a8977ed -r dd2fbf4c998f integration/home.html --- a/integration/home.html Fri May 31 17:57:12 2013 +0200 +++ b/integration/home.html Mon Jun 03 13:33:16 2013 +0200 @@ -33,7 +33,10 @@

Derniers projets

- +
@@ -101,7 +104,8 @@

Dernières vidéos

+ Ajouter une vidéo +
diff -r 0e030a8977ed -r dd2fbf4c998f integration/js/common.js --- a/integration/js/common.js Fri May 31 17:57:12 2013 +0200 +++ b/integration/js/common.js Mon Jun 03 13:33:16 2013 +0200 @@ -11,6 +11,7 @@ typeMedia = $(this).attr('data-type-media'), modalTitleInfo = $(this).attr('data-title'), hideBibliotheque = $(this).hasAttr('data-hide-bibliotheque') ? true : false, + hideAddNew = $(this).hasAttr('data-hide-add-new') ? true : false, titleFront; switch(typeMedia){ @@ -23,6 +24,8 @@ $("#modal-template").modal("show"); if(hideBibliotheque) $("#modal-template").find(".bibliotheque-link").hide(); + if(hideAddNew) + $("#modal-template").find(".add-new").hide(); }); }); diff -r 0e030a8977ed -r dd2fbf4c998f integration/modal-bibliotheque-image.html --- a/integration/modal-bibliotheque-image.html Fri May 31 17:57:12 2013 +0200 +++ b/integration/modal-bibliotheque-image.html Mon Jun 03 13:33:16 2013 +0200 @@ -2,7 +2,7 @@