X-Git-Url: https://svn.cri.ensmp.fr/git/Portfolio.git/blobdiff_plain/8ead6f1e3deb946c8ff614793f1637fe0e26efa0..refs/heads/dd_ordering:/skins/photo_layout_macros.pt
diff --git a/skins/photo_layout_macros.pt b/skins/photo_layout_macros.pt
index 7960516..f68f193 100644
--- a/skins/photo_layout_macros.pt
+++ b/skins/photo_layout_macros.pt
@@ -9,7 +9,9 @@
@@ -122,7 +124,8 @@
new Lightbox(lb,
document.getElementById('lightbox_toolbar'),
%(complete)s,
- '%(container_type)s');
+ '%(container_type)s',
+ %(orderable)s);
var uploadUrl = '%(putUrl)s';
var options = {'slideSize' : %(slideSize)d,
'thumbnailSize' : %(thumbnailSize)d};
@@ -132,7 +135,8 @@
'slideSize' : portal_object.slide_size,
'thumbnailSize' : portal_object.thumb_size,
'complete': 'true' if not batch.next else 'false',
- 'container_type' : options.get('container_type', 'portfolio')}">
+ 'container_type' : options.get('container_type', 'portfolio'),
+ 'orderable' : 'true' if orderable else 'false'}">