diff templates/snippet/snippet_details.djhtml @ 175:1be4e1229711

Show number of views on snippet details page
author dellsystem <ilostwaldo@gmail.com>
date Sat, 20 Oct 2012 15:40:29 -0400
parents c7be7def8b57
children 683d41e124b7
line wrap: on
line diff
--- a/templates/snippet/snippet_details.djhtml	Sat Oct 20 13:07:44 2012 -0400
+++ b/templates/snippet/snippet_details.djhtml	Sat Oct 20 15:40:29 2012 -0400
@@ -71,7 +71,9 @@
             anonymous
             {% endif %}
             &mdash;
-            Language: {{language}}
+            Language: {{ language }}
+            &mdash;
+            Number of views: {{ snippet.num_views }}
         </div>
     </div><!-- closes .snippet-options -->
     <br />