]> git.decadent.org.uk Git - memories.git/commitdiff
Avoid looking stupid.
authorSimon Cozens <simon@simon-cozens.org>
Thu, 8 Feb 2007 20:44:05 +0000 (20:44 +0000)
committerSimon Cozens <simon@simon-cozens.org>
Thu, 8 Feb 2007 20:44:05 +0000 (20:44 +0000)
git-svn-id: http://svn.simon-cozens.org/memories/trunk@16 041978f6-d955-411f-a9d7-1d8545c9c3c7

templates/photo/comment

index f1c74da61903305031519af0ef3848307e744d54..b93902593fdd816d7f2af9767c3b8634605758e3 100644 (file)
@@ -11,7 +11,9 @@
    <li><a href='javascript:add_rating(5)' title='5 stars out of 5' class='five-stars'>5</a></li>
    </ul>
 </span>
+ [% IF photo.rated > 0%]
  ([%photo.approx_rating%] out of [%photo.rated%] votes) 
+ [% END %]
 </p>
 <script>
 add_rating = function (rank) {