summaryrefslogtreecommitdiff
path: root/templates/pages
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2010-04-07 19:52:14 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2010-04-07 19:52:14 +0200
commit3b3f1c9b99154c271489e6e13fd2c39a5b572a38 (patch)
treee6a7097a6239d8f61475172322cdc053cb7399aa /templates/pages
parent0973e4f3616f4e41f15bac9c0aa9e5c8f27939a1 (diff)
downloadweb-3b3f1c9b99154c271489e6e13fd2c39a5b572a38.tar.gz
web-3b3f1c9b99154c271489e6e13fd2c39a5b572a38.tar.bz2
web-3b3f1c9b99154c271489e6e13fd2c39a5b572a38.zip
Changes
Diffstat (limited to 'templates/pages')
-rw-r--r--templates/pages/screenshots.mako6
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>