Mercurial > public > sg101
comparison gpp/templates/forums/mod_forum.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 | 88b2b9cb8c1f |
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 %}Moderate Forum: {{ forum.name }}{% endblock %} | 4 {% block title %}Moderate Forum: {{ forum.name }}{% endblock %} |
4 {% block custom_js %} | 5 {% block custom_js %} |
5 <script type="text/javascript" src="{{ MEDIA_URL }}js/forums_mod.js"></script> | 6 <script type="text/javascript" src="{{ MEDIA_URL }}js/forums_mod.js"></script> |
6 {% endblock %} | 7 {% endblock %} |
26 <td>{% if topic.sticky %}<img src="{{ MEDIA_URL }}icons/asterisk_orange.png" alt="Sticky" title="Sticky" class="forums-topic-icon" />{% endif %} | 27 <td>{% if topic.sticky %}<img src="{{ MEDIA_URL }}icons/asterisk_orange.png" alt="Sticky" title="Sticky" class="forums-topic-icon" />{% endif %} |
27 {% if topic.locked %}<img src="{{ MEDIA_URL }}icons/lock.png" alt="Locked" title="Locked" | 28 {% if topic.locked %}<img src="{{ MEDIA_URL }}icons/lock.png" alt="Locked" title="Locked" |
28 class="forums-topic-icon" />{% endif %} | 29 class="forums-topic-icon" />{% endif %} |
29 <h4><a href="{{ topic.get_absolute_url }}">{{ topic.name }}</a></h4></td> | 30 <h4><a href="{{ topic.get_absolute_url }}">{{ topic.name }}</a></h4></td> |
30 <td class="forum-index_replies">{{ topic.reply_count }}</td> | 31 <td class="forum-index_replies">{{ topic.reply_count }}</td> |
31 <td class="forum-index_author"><a href="{% url bio-view_profile username=topic.user.username %}" title="View profile for {{ topic.user.username }}">{{ topic.user.username }}</a></td> | 32 <td class="forum-index_author"><a href="{% url 'bio-view_profile' username=topic.user.username %}" title="View profile for {{ topic.user.username }}">{{ topic.user.username }}</a></td> |
32 <td class="forum-index_last_post"> | 33 <td class="forum-index_last_post"> |
33 {% last_post_info topic.last_post %} | 34 {% last_post_info topic.last_post %} |
34 </td> | 35 </td> |
35 <td class="forum-index_select"><input type="checkbox" name="topic_ids" value="{{ topic.id }}" class="forums-topic_check" /></td> | 36 <td class="forum-index_select"><input type="checkbox" name="topic_ids" value="{{ topic.id }}" class="forums-topic_check" /></td> |
36 </tr> | 37 </tr> |