diff options
Diffstat (limited to 'templates/pages/screenshots.mako')
-rw-r--r-- | templates/pages/screenshots.mako | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/templates/pages/screenshots.mako b/templates/pages/screenshots.mako index 6e85b2a..41ac820 100644 --- a/templates/pages/screenshots.mako +++ b/templates/pages/screenshots.mako @@ -24,11 +24,9 @@ <p> % for f,t,d in h.getImages("static/images/screens/", "static/images/tmp/", (150,150)): + % if not d: d = 'Portato screenie' <a href=${f} class="highslide" rel="highslide"> - <img src=${t} alt="${d if d else 'Portato screenie'}" title="Click to enlarge" /> + <img src=${t} alt="${d}" title="${d}" /> </a> - ## % if d is not None: - ## <div class="highslide-caption">${d}</div> - ##% endif % endfor </a> |