Mercurial > public > sg101
comparison gpp/templates/news/story.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 | da46e77cd804 |
comparison
equal
deleted
inserted
replaced
203:40e5903903e1 | 204:b4305e18d3af |
---|---|
13 {% endif %} | 13 {% endif %} |
14 {% endblock %} | 14 {% endblock %} |
15 {% block news_content %} | 15 {% block news_content %} |
16 <h3>{{ story.title }}</h3> | 16 <h3>{{ story.title }}</h3> |
17 <div class="news-details"> | 17 <div class="news-details"> |
18 Submitted by {{ story.submitter.username }} on {{ story.date_published|date:"F d, Y" }}. | 18 Submitted by {{ story.submitter.username }} on {{ story.date_submitted|date:"F d, Y" }}. |
19 </div> | 19 </div> |
20 <hr /> | 20 <hr /> |
21 <div class="news-content"> | 21 <div class="news-content"> |
22 <a href="{% url news.views.category category=story.category.id page=1 %}"> | 22 <a href="{% url news.views.category category=story.category.id page=1 %}"> |
23 <img src="{{ story.category.icon.url }}" alt="{{ story.category.title }}" title="{{ story.category.title }}" | 23 <img src="{{ story.category.icon.url }}" alt="{{ story.category.title }}" title="{{ story.category.title }}" |