Mercurial > public > sg101
comparison gpp/templates/news/category_index.html @ 204:b4305e18d3af
Resolve ticket #74. Add user badges. Some extra credit was done here: also refactored how pending news, links, and downloads are handled.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 01 May 2010 21:53:59 +0000 |
parents | 2baadae33f2e |
children | 1246a4f1ab4f |
comparison
equal
deleted
inserted
replaced
203:40e5903903e1 | 204:b4305e18d3af |
---|---|
18 </p> | 18 </p> |
19 {% if story_set %} | 19 {% if story_set %} |
20 <ul> | 20 <ul> |
21 {% for story in story_set %} | 21 {% for story in story_set %} |
22 <li><a href="{{ story.get_absolute_url }}">{{ story.title }}</a> | 22 <li><a href="{{ story.get_absolute_url }}">{{ story.title }}</a> |
23 - {{ story.date_published|date:"F d, Y" }}</li> | 23 - {{ story.date_submitted|date:"F d, Y" }}</li> |
24 {% endfor %} | 24 {% endfor %} |
25 </ul> | 25 </ul> |
26 {% else %} | 26 {% else %} |
27 <p>No news at this time.</p> | 27 <p>No news at this time.</p> |
28 {% endif %} | 28 {% endif %} |