# HG changeset patch # User Brian Neal # Date 1240177885 0 # Node ID c284c0e5c5dbd5c832a56a3d75b4219bdeef3223 # Parent a5f27f25fa52e8461026aea9f96bca2d19ed27e9 News tweaks to story and story summary templates. diff -r a5f27f25fa52 -r c284c0e5c5db gpp/templates/news/story.html --- a/gpp/templates/news/story.html Sun Apr 19 21:16:59 2009 +0000 +++ b/gpp/templates/news/story.html Sun Apr 19 21:51:25 2009 +0000 @@ -28,8 +28,17 @@ {% tags_for_object story as story_tags %} {% if story_tags %}
+

+ Category: {{ story.category.title }} + Story Permalink +{% if user.is_authenticated %} + Send this story to a friend +{% endif %} +

- Tags + Tags Tags:
{% endif %} -

- Story Permalink -{% if user.is_authenticated %} - Send this story to a friend -{% endif %} -

{% get_comment_count for story as comment_count %}

This story has {{ comment_count }} comment{{ comment_count|pluralize }}.

diff -r a5f27f25fa52 -r c284c0e5c5db gpp/templates/news/story_summary.html --- a/gpp/templates/news/story_summary.html Sun Apr 19 21:16:59 2009 +0000 +++ b/gpp/templates/news/story_summary.html Sun Apr 19 21:51:25 2009 +0000 @@ -19,7 +19,8 @@ {% endif %}

-Comments +Category: {{ story.category.title }} +Comments {{ comment_count }} comment{{ comment_count|pluralize }} Permalink {% if user.is_authenticated %} @@ -29,7 +30,7 @@

{% if story_tags %}
- Tags + Tags Tags: