Mercurial > public > sg101
comparison gpp/templates/forums/topic_list.html @ 310:daa2916f5b34
Fixing 145; New url tag behavior (forwards compatibility) in Django 1.3.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 20 Jan 2011 04:03:48 +0000 |
parents | 593fb6dbd449 |
children | dd673fae508d |
comparison
equal
deleted
inserted
replaced
309:8a0bae48b6ca | 310:daa2916f5b34 |
---|---|
1 {% extends 'base.html' %} | 1 {% extends 'base.html' %} |
2 {% load url from future %} | |
2 {% load forum_tags %} | 3 {% load forum_tags %} |
3 {% block title %}Forums: {{ title }}{% endblock %} | 4 {% block title %}Forums: {{ title }}{% endblock %} |
4 {% block custom_js %} | 5 {% block custom_js %} |
5 {% include "forums/forum_query.js" %} | 6 {% include "forums/forum_query.js" %} |
6 {% endblock %} | 7 {% endblock %} |
30 {% if topic.page_range %} | 31 {% if topic.page_range %} |
31 {% topic_page_range topic %} | 32 {% topic_page_range topic %} |
32 {% endif %} | 33 {% endif %} |
33 </td> | 34 </td> |
34 <td class="col-2"> | 35 <td class="col-2"> |
35 <a href="{% url bio-view_profile username=topic.user.username %}" title="View profile for {{ topic.user.username }}">{{ topic.user.username }}</a> | 36 <a href="{% url 'bio-view_profile' username=topic.user.username %}" title="View profile for {{ topic.user.username }}">{{ topic.user.username }}</a> |
36 </td> | 37 </td> |
37 <td class="col-3"> | 38 <td class="col-3"> |
38 {{ topic.reply_count }} | 39 {{ topic.reply_count }} |
39 </td> | 40 </td> |
40 <td class="col-4"> | 41 <td class="col-4"> |