changeset 20:c2d59b93aa43

dont display hr if width not specified
author k0s <k0scist@gmail.com>
date Sat, 09 Jan 2010 17:02:49 -0500
parents 2303c381151b
children 7be864865c7f 2126ff45bec2
files montage/templates/strip.html
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/montage/templates/strip.html	Mon Jan 04 05:42:57 2010 +0000
+++ b/montage/templates/strip.html	Sat Jan 09 17:02:49 2010 -0500
@@ -20,7 +20,7 @@
         <br/>
         ${image.get('title', image['description'])}
       </div>
-      <hr width="${width}px" py:if="index != len(files) - 1"/>
+      <hr width="${width}px" py:if="(index != len(files) - 1) and width"/>
     </py:for>
     </center>
   </body>