diff gpp/templates/news/story.html @ 205:da46e77cd804

Fixing #77, news tags were getting exploded by letter on some views/template tags.
author Brian Neal <bgneal@gmail.com>
date Sat, 01 May 2010 22:25:49 +0000
parents b4305e18d3af
children 1246a4f1ab4f
line wrap: on
line diff
--- a/gpp/templates/news/story.html	Sat May 01 21:53:59 2010 +0000
+++ b/gpp/templates/news/story.html	Sat May 01 22:25:49 2010 +0000
@@ -25,8 +25,6 @@
    {{ story.short_text|safe }}
    {{ story.long_text|safe }}
    <br clear="all" />
-   {% tags_for_object story as story_tags %}
-   {% if story_tags %}
    <hr />
    <p>
    Category: <a href="{% url news.views.category category=story.category.id page=1 %}">{{ story.category.title }}</a>
@@ -37,6 +35,8 @@
       alt="Send this story to a friend" title="Send this story to a friend" /></a>
 {% endif %}
    </p>
+   {% tags_for_object story as story_tags %}
+   {% if story_tags %}
    <div class="news-tags">
       <img src="{{ MEDIA_URL }}icons/tag_blue.png" alt="Tags" title="Tags" /> Tags:
       <ul>