]> git.decadent.org.uk Git - memories.git/blobdiff - templates/photo/view
...which makes room for a view count. References #4.
[memories.git] / 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>