comparison gpp/templates/news/category_index.html @ 240:1246a4f1ab4f

For #93: fix url scheme for the news application.
author Brian Neal <bgneal@gmail.com>
date Wed, 15 Sep 2010 00:14:54 +0000
parents b4305e18d3af
children daa2916f5b34
comparison
equal deleted inserted replaced
239:dcc929973bba 240:1246a4f1ab4f
10 <a href="{% url news-tag_index %}">view our stories by their tags</a>. 10 <a href="{% url news-tag_index %}">view our stories by their tags</a>.
11 </p> 11 </p>
12 12
13 {% for category, story_set in cat_list %} 13 {% for category, story_set in cat_list %}
14 <h3>{{ category.title }}</h3> 14 <h3>{{ category.title }}</h3>
15 <p><a href="{% url news.views.category category=category.id page=1 %}"> 15 <p><a href="{% url news-category slug=category.slug %}">
16 <img src="{{ category.icon.url }}" alt="{{ category.title }}" title="{{ category.title }}" /> 16 <img src="{{ category.icon.url }}" alt="{{ category.title }}" title="{{ category.title }}" />
17 </a> 17 </a>
18 </p> 18 </p>
19 {% if story_set %} 19 {% if story_set %}
20 <ul> 20 <ul>