comparison gpp/templates/forums/index.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 21d2ca3b4bf7
children dd673fae508d
comparison
equal deleted inserted replaced
311:b1c39788e511 312:88b2b9cb8c1f
8 {% endfor %} 8 {% endfor %}
9 {% include "forums/forum_query.js" %} 9 {% include "forums/forum_query.js" %}
10 {% endblock %} 10 {% endblock %}
11 {% block title %}Forums{% endblock %} 11 {% block title %}Forums{% endblock %}
12 {% block content %} 12 {% block content %}
13 <h2>Forums <a href="/feeds/forums/"><img src="{{ MEDIA_URL }}icons/feed.png" alt="Forums Feed" title="Forums Feed" /></a></h2> 13 <h2>Forums <a href="/feeds/forums/"><img src="{{ STATIC_URL }}icons/feed.png" alt="Forums Feed" title="Forums Feed" /></a></h2>
14 14
15 {% include "forums/forum_query.html" %} 15 {% include "forums/forum_query.html" %}
16 16
17 <div class="forum-block"> 17 <div class="forum-block">
18 {% for iter in cats %} 18 {% for iter in cats %}
29 <tbody> 29 <tbody>
30 {% for forum in iter.forums %} 30 {% for forum in iter.forums %}
31 <tr class="{% cycle 'odd' 'even' %}"> 31 <tr class="{% cycle 'odd' 'even' %}">
32 <td> 32 <td>
33 {% if forum.has_unread %} 33 {% if forum.has_unread %}
34 <img src="{{ MEDIA_URL }}icons/new.png" alt="New Posts" title="New Posts" class="forums-topic-icon" /> 34 <img src="{{ STATIC_URL }}icons/new.png" alt="New Posts" title="New Posts" class="forums-topic-icon" />
35 {% endif %} 35 {% endif %}
36 <h4><a href="{{ forum.get_absolute_url }}">{{ forum.name }}</a></h4> 36 <h4><a href="{{ forum.get_absolute_url }}">{{ forum.name }}</a></h4>
37 <p>{{ forum.description }}</p> 37 <p>{{ forum.description }}</p>
38 </td> 38 </td>
39 <td class="forum-topics">{{ forum.topic_count }}</td> 39 <td class="forum-topics">{{ forum.topic_count }}</td>