comparison 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
comparison
equal deleted inserted replaced
204:2619e53b1ec2 205:c13a3ab314ab
72 {% endif %} 72 {% endif %}
73 &mdash; 73 &mdash;
74 Language: {{ language }} 74 Language: {{ language }}
75 &mdash; 75 &mdash;
76 Number of views: {{ snippet.num_views }} 76 Number of views: {{ snippet.num_views }}
77 <strong>
77 {% load ratings %} 78 {% load ratings %}
78 Total Votes: {{ snippet.rating.votes }} 79 Total Votes: {{ snippet.rating.votes }}
79 Rating: {{ score }} 80 Rating: {{ score }}
81 </strong>
80 </div> 82 </div>
81 </div><!-- closes .snippet-options --> 83 </div><!-- closes .snippet-options -->
82 <br /> 84 <br />
83 85
84 {% include "snippet/snippet_box.djhtml" with lines=snippet.content_splitted %} 86 {% include "snippet/snippet_box.djhtml" with lines=snippet.content_splitted %}