changeset 433:6663175b659e

For #213, create permalinks for forum topics.
author Brian Neal <bgneal@gmail.com>
date Fri, 06 May 2011 02:03:39 +0000
parents ca744075e7b7
children ffdeb403ad21
files gpp/templates/forums/navigation_tag.html
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gpp/templates/forums/navigation_tag.html	Fri May 06 01:41:21 2011 +0000
+++ b/gpp/templates/forums/navigation_tag.html	Fri May 06 02:03:39 2011 +0000
@@ -5,7 +5,7 @@
    {% if not forloop.last %}
       <a href="{{ nav_item.url }}">{{ nav_item.name }}</a> &raquo;
    {% else %}
-      </h2><h3 class="forum-nav">{{ nav_item.name }}</h3>
+   </h2><h3 class="forum-nav">{% if nav_item.url %}<a href="{{ nav_item.url }}" title="Permalink"><img src="{{ STATIC_URL }}icons/link.png" alt="Permalink" /></a>{% endif %} {{ nav_item.name }}</h3>
    {% endif %}
 {% empty %}
    </h2>