Mercurial > agora
diff templates/snippet/snippet_details.djhtml @ 205:c13a3ab314ab
Added RatingField import and fixed an html tag in snippet template
author | Ahsan Ali Shahid <ahsan.ali.shahid@gmail.com> |
---|---|
date | Fri, 19 Jul 2013 22:40:25 +0500 |
parents | c2a1c8950db2 |
children | d534881629ff |
line wrap: on
line diff
--- a/templates/snippet/snippet_details.djhtml Fri Jul 19 22:13:14 2013 +0500 +++ b/templates/snippet/snippet_details.djhtml Fri Jul 19 22:40:25 2013 +0500 @@ -74,9 +74,11 @@ Language: {{ language }} — Number of views: {{ snippet.num_views }} + <strong> {% load ratings %} Total Votes: {{ snippet.rating.votes }} Rating: {{ score }} + </strong> </div> </div><!-- closes .snippet-options --> <br />