comparison gpp/templates/forums/mod_forum.html @ 312:88b2b9cb8c1f

Fixing #142; cut over to the django.contrib.staticfiles app.
author Brian Neal <bgneal@gmail.com>
date Thu, 27 Jan 2011 02:56:10 +0000
parents daa2916f5b34
children 3c48a555298d
comparison
equal deleted inserted replaced
311:b1c39788e511 312:88b2b9cb8c1f
1 {% extends 'base.html' %} 1 {% extends 'base.html' %}
2 {% load url from future %} 2 {% load url from future %}
3 {% load forum_tags %} 3 {% load forum_tags %}
4 {% block title %}Moderate Forum: {{ forum.name }}{% endblock %} 4 {% block title %}Moderate Forum: {{ forum.name }}{% endblock %}
5 {% block custom_js %} 5 {% block custom_js %}
6 <script type="text/javascript" src="{{ MEDIA_URL }}js/forums_mod.js"></script> 6 <script type="text/javascript" src="{{ STATIC_URL }}js/forums_mod.js"></script>
7 {% endblock %} 7 {% endblock %}
8 {% block content %} 8 {% block content %}
9 {% forum_navigation forum "Moderate Forum" %} 9 {% forum_navigation forum "Moderate Forum" %}
10 10
11 <div class="forum-block"> 11 <div class="forum-block">
22 </tr> 22 </tr>
23 </thead> 23 </thead>
24 <tbody> 24 <tbody>
25 {% for topic in page.object_list %} 25 {% for topic in page.object_list %}
26 <tr class="{% cycle 'odd' 'even' %}"> 26 <tr class="{% cycle 'odd' 'even' %}">
27 <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="{{ STATIC_URL }}icons/asterisk_orange.png" alt="Sticky" title="Sticky" class="forums-topic-icon" />{% endif %}
28 {% if topic.locked %}<img src="{{ MEDIA_URL }}icons/lock.png" alt="Locked" title="Locked" 28 {% if topic.locked %}<img src="{{ STATIC_URL }}icons/lock.png" alt="Locked" title="Locked"
29 class="forums-topic-icon" />{% endif %} 29 class="forums-topic-icon" />{% endif %}
30 <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>
31 <td class="forum-index_replies">{{ topic.reply_count }}</td> 31 <td class="forum-index_replies">{{ topic.reply_count }}</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_author"><a href="{% url 'bio-view_profile' username=topic.user.username %}" title="View profile for {{ topic.user.username }}">{{ topic.user.username }}</a></td>
33 <td class="forum-index_last_post"> 33 <td class="forum-index_last_post">