changeset 34:3b77f318cfbf

STUB: montage/templates/sequence.html
author Jeff Hammel <k0scist@gmail.com>
date Sun, 30 Mar 2014 14:21:33 -0700
parents 87ce035dd4a0
children 1236913eaa97
files montage/templates/sequence.html
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/montage/templates/sequence.html	Sun Mar 30 14:19:15 2014 -0700
+++ b/montage/templates/sequence.html	Sun Mar 30 14:21:33 2014 -0700
@@ -19,10 +19,10 @@
       <div py:if="index in range(len(files))" py:with="image = files[index]" class="image">
         <a name="${image['path']}"></a>
         <a href="${image['link']}">
-          <img src="${image['path']}" width="${width or None}" height="${height or None}" title="${image.get('title', image[description])}"/>
+          <img src="${image['path']}" width="${width or None}" height="${height or None}" title="${image.get('title', image['description'])}"/>
         </a>
         <br/>
-        <p py:if="${image.get('title', None)">
+        <p py:if="${image.get('title', None)}">
           <i>${image.get('title', '')</i>
         </p>
         ${image['description'])}