diff gpp/templates/news/story_summary.html @ 493:bdcce55f137e

For #235, some minor news tweaks. The submitted by text is now a link to the author's profile. Only show 1 textarea to the user when submitting a new news story. The admin can paste into the 2nd one if needed.
author Brian Neal <bgneal@gmail.com>
date Sat, 22 Oct 2011 00:48:45 +0000
parents bbbc357ac5f3
children
line wrap: on
line diff
--- a/gpp/templates/news/story_summary.html	Sat Oct 22 00:07:50 2011 +0000
+++ b/gpp/templates/news/story_summary.html	Sat Oct 22 00:48:45 2011 +0000
@@ -1,5 +1,6 @@
 {% load url from future %}
 {% load tagging_tags %}
+{% load bio_tags %}
 {% load comment_tags %}
 {% load core_tags %}
 <div class="news-story-container solid-background">
@@ -9,7 +10,7 @@
 <h4><a href="{{ story.get_absolute_url }}">{{ story.title }}</a></h4>
 {% endif %}
 <div class="news-details">
-   Submitted by {{ story.submitter.username }} on {{ story.date_submitted|date:"F d, Y" }}.
+   Submitted by {% profile_link story.submitter.username %} on {{ story.date_submitted|date:"F d, Y" }}.
 </div>
 <a href="{% url 'news-category' slug=story.category.slug %}">
 <img src="{{ story.category.icon.url }}" alt="{{ story.category.title }}" title="{{ story.category.title }}"