Mercurial > hg > montage
comparison montage/templates/strip.html @ 20:c2d59b93aa43
dont display hr if width not specified
author | k0s <k0scist@gmail.com> |
---|---|
date | Sat, 09 Jan 2010 17:02:49 -0500 |
parents | 17ccb1022656 |
children | ee74cf1e444b |
comparison
equal
deleted
inserted
replaced
19:2303c381151b | 20:c2d59b93aa43 |
---|---|
18 <img src="${image['path']}" width="${width or None}" height="${height or None}"/> | 18 <img src="${image['path']}" width="${width or None}" height="${height or None}"/> |
19 </a> | 19 </a> |
20 <br/> | 20 <br/> |
21 ${image.get('title', image['description'])} | 21 ${image.get('title', image['description'])} |
22 </div> | 22 </div> |
23 <hr width="${width}px" py:if="index != len(files) - 1"/> | 23 <hr width="${width}px" py:if="(index != len(files) - 1) and width"/> |
24 </py:for> | 24 </py:for> |
25 </center> | 25 </center> |
26 </body> | 26 </body> |
27 </html> | 27 </html> |