projects
/
Portfolio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
e5491ff
)
Création macro « thumbnails » qui ne comprend que les slides.
author
Benoît Pin
<pin@cri.ensmp.fr>
Wed, 9 Jul 2014 14:37:57 +0000
(16:37 +0200)
committer
Benoît Pin
<pin@cri.ensmp.fr>
Wed, 9 Jul 2014 14:37:57 +0000
(16:37 +0200)
skins/photo_layout_macros.pt
patch
|
blob
|
history
diff --git
a/skins/photo_layout_macros.pt
b/skins/photo_layout_macros.pt
index
1ab636a
..
1a77be0
100644
(file)
--- a/
skins/photo_layout_macros.pt
+++ b/
skins/photo_layout_macros.pt
@@
-13,7
+13,7
@@
i18n:domain="portfolio">
<div metal:use-macro="here/batch_macros/macros/navigation">batch navigation</div>
<div id="lightbox" tal:attributes="class python:'lightbox photo-drop-target' if dropable else 'lightbox'">
i18n:domain="portfolio">
<div metal:use-macro="here/batch_macros/macros/navigation">batch navigation</div>
<div id="lightbox" tal:attributes="class python:'lightbox photo-drop-target' if dropable else 'lightbox'">
- <span tal:repeat="info infos" tal:omit-tag="">
+ <span
metal:define-macro="thumbnails"
tal:repeat="info infos" tal:omit-tag="">
<span tal:define="size info/thumbSize;
margin_top python:(slide_size - size['height']) / 2;
margin_left python:(slide_size - size['width']) / 2;
<span tal:define="size info/thumbSize;
margin_top python:(slide_size - size['height']) / 2;
margin_left python:(slide_size - size['width']) / 2;