X-Git-Url: https://scm.cri.ensmp.fr/git/Portfolio.git/blobdiff_plain/a1bb8ac46119133838a8119a5d15c98079d06a6c..2da869b2b46179d64c05eaac4081226fdbbbc9ff:/skins/photo_layout_macros.pt?ds=inline
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'}">