comparison gpp/templates/news/story_summary.html @ 24:c284c0e5c5db

News tweaks to story and story summary templates.
author Brian Neal <bgneal@gmail.com>
date Sun, 19 Apr 2009 21:51:25 +0000
parents 63696b279e35
children 07da6967fc40
comparison
equal deleted inserted replaced
23:a5f27f25fa52 24:c284c0e5c5db
17 <a href="{{ story.get_absolute_url }}">There is more to this story, continue reading ...</a> 17 <a href="{{ story.get_absolute_url }}">There is more to this story, continue reading ...</a>
18 </p> 18 </p>
19 {% endif %} 19 {% endif %}
20 <hr /> 20 <hr />
21 <p> 21 <p>
22 <img src="{{ MEDIA_URL }}icons/comments.png" alt="Comments" /> 22 Category: <a href="{% url news.views.category category=story.category.id,page=1 %}">{{ story.category.title }}</a>
23 <img src="{{ MEDIA_URL }}icons/comments.png" alt="Comments" title="Comments" />
23 <a href="{{ story.get_absolute_url }}">{{ comment_count }} comment{{ comment_count|pluralize }}</a> 24 <a href="{{ story.get_absolute_url }}">{{ comment_count }} comment{{ comment_count|pluralize }}</a>
24 <a href="{{ story.get_absolute_url }}"><img src="{{ MEDIA_URL }}icons/link.png" alt="Permalink" title="Permalink" /></a> 25 <a href="{{ story.get_absolute_url }}"><img src="{{ MEDIA_URL }}icons/link.png" alt="Permalink" title="Permalink" /></a>
25 {% if user.is_authenticated %} 26 {% if user.is_authenticated %}
26 <a href="{% url news.views.email_story story.id %}"><img src="{{ MEDIA_URL }}icons/email_go.png" 27 <a href="{% url news.views.email_story story.id %}"><img src="{{ MEDIA_URL }}icons/email_go.png"
27 alt="Send this story to a friend" title="Send this story to a friend" /></a> 28 alt="Send this story to a friend" title="Send this story to a friend" /></a>
28 {% endif %} 29 {% endif %}
29 </p> 30 </p>
30 {% if story_tags %} 31 {% if story_tags %}
31 <div class="news-tags"> 32 <div class="news-tags">
32 <img src="{{ MEDIA_URL }}icons/tag_blue.png" alt="Tags" title="Tags" /> 33 <img src="{{ MEDIA_URL }}icons/tag_blue.png" alt="Tags" title="Tags" /> Tags:
33 <ul> 34 <ul>
34 {% for tag in story_tags %} 35 {% for tag in story_tags %}
35 <li><a href="{% url news-tag_page tag_name=tag.name,page=1 %}">{{ tag.name }}</a></li> 36 <li><a href="{% url news-tag_page tag_name=tag.name,page=1 %}">{{ tag.name }}</a></li>
36 {% endfor %} 37 {% endfor %}
37 </ul> 38 </ul>