]> git.decadent.org.uk Git - memories.git/blobdiff - templates/photo/comment
Avoid looking stupid.
[memories.git] / 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) {