From: Simon Cozens Date: Thu, 8 Feb 2007 20:31:10 +0000 (+0000) Subject: ...which makes room for a view count. References #4. X-Git-Tag: 1.2+svn20070808~54 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=944db1a7ad953f6ed4ff66e75ad174b1859155bb;p=memories.git ...which makes room for a view count. References #4. git-svn-id: http://svn.simon-cozens.org/memories/trunk@14 041978f6-d955-411f-a9d7-1d8545c9c3c7 --- diff --git a/templates/photo/view b/templates/photo/view index 617484c..4671484 100644 --- a/templates/photo/view +++ b/templates/photo/view @@ -33,7 +33,9 @@ In albums: Photo shot on [% photo.shot.ymd %]
Uploaded by [% photo.uploader %] - +
+[% photo.hit_count %] view[%IF photo.hit_count > 1%]s[%END%] +