# HG changeset patch # User Brian Neal # Date 1239479117 0 # Node ID 63696b279e3565c70b24a9cf431f5991e5642052 # Parent 9a8801fa63d5355b2b3d99c99d082fd6c235859b Display news links and send to friend on the summary page. Use icons. diff -r 9a8801fa63d5 -r 63696b279e35 gpp/templates/news/story.html --- a/gpp/templates/news/story.html Sat Apr 11 18:52:19 2009 +0000 +++ b/gpp/templates/news/story.html Sat Apr 11 19:45:17 2009 +0000 @@ -18,6 +18,7 @@
Submitted by {{ story.submitter.username }} on {{ story.date_published|date:"F d, Y" }}.
+
{{ story.category.title }} {% tags_for_object story as story_tags %} {% if story_tags %} +
- Tags: + Tags
{% get_comment_count for story as comment_count %} diff -r 9a8801fa63d5 -r 63696b279e35 gpp/templates/news/story_summary.html --- a/gpp/templates/news/story_summary.html Sat Apr 11 18:52:19 2009 +0000 +++ b/gpp/templates/news/story_summary.html Sat Apr 11 19:45:17 2009 +0000 @@ -1,7 +1,7 @@ {% load comment_tags %} {% get_comment_count for story as comment_count %}
-

{{ story.title }}

+

{{ story.title }}

Submitted by {{ story.submitter.username }} on {{ story.date_published|date:"F d, Y" }}.
@@ -11,15 +11,25 @@
{{ story.short_text|safe }}
+{% if story.long_text %}

-{% if story.long_text or comment_count %} -Read more... | +Read More +There is more to this story, continue reading ... +

{% endif %} -{{ comment_count }} comment{{ comment_count|pluralize }}. +
+

+Comments +{{ comment_count }} comment{{ comment_count|pluralize }} +Permalink +{% if user.is_authenticated %} +Send this story to a friend +{% endif %}

{% if story_tags %}
- Tags: + Tags
    {% for tag in story_tags %}
  • {{ tag.name }}
  • diff -r 9a8801fa63d5 -r 63696b279e35 media/css/base.css --- a/media/css/base.css Sat Apr 11 18:52:19 2009 +0000 +++ b/media/css/base.css Sat Apr 11 19:45:17 2009 +0000 @@ -98,3 +98,6 @@ .breadcrumbs { font-size: x-small; } +table { + width: auto; +} diff -r 9a8801fa63d5 -r 63696b279e35 media/icons/bullet_go.png Binary file media/icons/bullet_go.png has changed diff -r 9a8801fa63d5 -r 63696b279e35 media/icons/comments.png Binary file media/icons/comments.png has changed diff -r 9a8801fa63d5 -r 63696b279e35 media/icons/link_break.png Binary file media/icons/link_break.png has changed diff -r 9a8801fa63d5 -r 63696b279e35 media/icons/tag_blue.png Binary file media/icons/tag_blue.png has changed