diff gpp/templates/news/story.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 f0f3966ea44f
children
line wrap: on
line diff
--- a/gpp/templates/news/story.html	Sat Oct 22 00:07:50 2011 +0000
+++ b/gpp/templates/news/story.html	Sat Oct 22 00:48:45 2011 +0000
@@ -1,6 +1,7 @@
 {% extends 'news/base.html' %}
 {% load url from future %}
 {% load tagging_tags %}
+{% load bio_tags %}
 {% load comment_tags %}
 {% load script_tags %}
 {% load core_tags %}
@@ -22,7 +23,7 @@
 <div class="solid-background">
 <h3>{{ story.title }}</h3>
 <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>
 <hr />
 <div class="news-content">