]> git.decadent.org.uk Git - memories.git/commitdiff
...which makes room for a view count. References #4.
authorSimon Cozens <simon@simon-cozens.org>
Thu, 8 Feb 2007 20:31:10 +0000 (20:31 +0000)
committerSimon Cozens <simon@simon-cozens.org>
Thu, 8 Feb 2007 20:31:10 +0000 (20:31 +0000)
git-svn-id: http://svn.simon-cozens.org/memories/trunk@14 041978f6-d955-411f-a9d7-1d8545c9c3c7

templates/photo/view

index 617484c81c13884fa82c532ab5e3d680efc3e8e9..46714844e8022309c048f8df7537415157aa852c 100644 (file)
@@ -33,7 +33,9 @@ In albums:
 <i>Photo shot on [% photo.shot.ymd %] </i> <br>
 Uploaded by <a href="[%base%]/user/view/[%photo.uploader.id%]"> [%
 photo.uploader %] </a>
-</small></td>
+</small> <br>
+[% photo.hit_count %] view[%IF photo.hit_count > 1%]s[%END%]
+</td>
 </tr>
 </table>