comparison gpp/templates/news/story_summary.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
5 <h3><a href="{{ story.get_absolute_url }}">{{ story.title }}</a></h3> 5 <h3><a href="{{ story.get_absolute_url }}">{{ story.title }}</a></h3>
6 {% else %} 6 {% else %}
7 <h4><a href="{{ story.get_absolute_url }}">{{ story.title }}</a></h4> 7 <h4><a href="{{ story.get_absolute_url }}">{{ story.title }}</a></h4>
8 {% endif %} 8 {% endif %}
9 <div class="news-details"> 9 <div class="news-details">
10 Submitted by {{ story.submitter.username }} on {{ story.date_published|date:"F d, Y" }}. 10 Submitted by {{ story.submitter.username }} on {{ story.date_submitted|date:"F d, Y" }}.
11 </div> 11 </div>
12 <a href="{% url news.views.category category=story.category.id page=1 %}"> 12 <a href="{% url news.views.category category=story.category.id page=1 %}">
13 <img src="{{ story.category.icon.url }}" alt="{{ story.category.title }}" title="{{ story.category.title }}" 13 <img src="{{ story.category.icon.url }}" alt="{{ story.category.title }}" title="{{ story.category.title }}"
14 class="news-icon" /></a> 14 class="news-icon" /></a>
15 <div class="news-content"> 15 <div class="news-content">