summaryrefslogtreecommitdiff
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
parent0973e4f3616f4e41f15bac9c0aa9e5c8f27939a1 (diff)
downloadweb-3b3f1c9b99154c271489e6e13fd2c39a5b572a38.tar.gz
web-3b3f1c9b99154c271489e6e13fd2c39a5b572a38.tar.bz2
web-3b3f1c9b99154c271489e6e13fd2c39a5b572a38.zip
Changes
-rw-r--r--templates/pages/screenshots.mako6
-rw-r--r--templates/root.mako2
2 files changed, 3 insertions, 5 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>
diff --git a/templates/root.mako b/templates/root.mako
index a6ed47a..3d2a486 100644
--- a/templates/root.mako
+++ b/templates/root.mako
@@ -52,7 +52,7 @@
</%def>
<%def name="footer()">
- powered by <a href="http://www.webpy.org">web.py</a> &amp; <a href="http://www.makotemplates.org">mako</a> |
+ powered by <a href="http://www.highslide.com/">highslide</a>, <a href="http://www.makotemplates.org">mako</a> &amp; <a href="http://www.webpy.org">web.py</a> |
© 2010. All Rights Reserved. René Neumann |
with the help of <a href="http://www.freecsstemplates.org/">Free CSS Templates</a>.
</%def>