Prise en charge des permissions dans l'affichage / masquage de la barre d'outils.
[Portfolio.git] / skins / photo_layout_macros.pt
index 6fe4a89..f6003ba 100644 (file)
@@ -66,8 +66,9 @@
                      i18n:attributes="alt"/>
               </a>
             </span>
                      i18n:attributes="alt"/>
               </a>
             </span>
-            <span class="button cb">
-              <input type="checkbox" />
+            <span class="button cb" tal:condition="features/checkbox|nothing">
+              <input type="checkbox" name="uids:list"
+                     tal:attributes="value info/cmf_uid"/>
             </span>
             <tal:block tal:condition="features/hideAnonymous|nothing">
               <span class="button slide-hide"
             </span>
             <tal:block tal:condition="features/hideAnonymous|nothing">
               <span class="button slide-hide"