From ba8fb5dd127373c9ee3d4c2d79053bc027bcf324 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Benoi=CC=82t=20Pin?= <benoit.pin@gmail.com> Date: Mon, 7 Apr 2014 21:37:32 +0200 Subject: [PATCH 1/1] =?utf8?q?bugfix=C2=A0:=20variable=20d=C3=A9finie=20tr?= =?utf8?q?op=20bas.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- skins/photo_layout_macros.pt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/skins/photo_layout_macros.pt b/skins/photo_layout_macros.pt index c895466..4d939ae 100644 --- a/skins/photo_layout_macros.pt +++ b/skins/photo_layout_macros.pt @@ -5,12 +5,12 @@ </head> <body> <div metal:define-macro="grid" - tal:define="slide_size portal_object/slide_size;" + tal:define="slide_size portal_object/slide_size; + mayBeDropable exists:dropable; + dropable python:True if mayBeDropable and dropable else False" i18n:domain="portfolio"> <div metal:use-macro="here/batch_macros/macros/navigation">batch navigation</div> <div id="lightbox" - tal:define="mayBeDropable exists:dropable; - dropable python:True if mayBeDropable and dropable else False" tal:attributes="class python:'lightbox photo-drop-target' if dropable else 'lightbox'"> <span tal:repeat="info infos" tal:omit-tag=""> <span tal:define="size info/thumbSize; -- 2.20.1