comparison gpp/templates/news/story_summary.html @ 312:88b2b9cb8c1f

Fixing #142; cut over to the django.contrib.staticfiles app.
author Brian Neal <bgneal@gmail.com>
date Thu, 27 Jan 2011 02:56:10 +0000
parents daa2916f5b34
children c3cc431b7fb9
comparison
equal deleted inserted replaced
311:b1c39788e511 312:88b2b9cb8c1f
17 <div class="news-content"> 17 <div class="news-content">
18 {{ story.short_text|safe }} 18 {{ story.short_text|safe }}
19 </div> 19 </div>
20 {% if story.long_text %} 20 {% if story.long_text %}
21 <p> 21 <p>
22 <img src="{{ MEDIA_URL }}icons/bullet_go.png" alt="Read More" /> 22 <img src="{{ STATIC_URL }}icons/bullet_go.png" alt="Read More" />
23 <a href="{{ story.get_absolute_url }}">There is more to this story, continue reading ...</a> 23 <a href="{{ story.get_absolute_url }}">There is more to this story, continue reading ...</a>
24 </p> 24 </p>
25 {% endif %} 25 {% endif %}
26 <hr /> 26 <hr />
27 <p> 27 <p>
28 Category: <a href="{% url 'news-category' slug=story.category.slug %}">{{ story.category.title }}</a> 28 Category: <a href="{% url 'news-category' slug=story.category.slug %}">{{ story.category.title }}</a>
29 <img src="{{ MEDIA_URL }}icons/comments.png" alt="Comments" title="Comments" /> 29 <img src="{{ STATIC_URL }}icons/comments.png" alt="Comments" title="Comments" />
30 <a href="{{ story.get_absolute_url }}">{{ comment_count }} comment{{ comment_count|pluralize }}</a> 30 <a href="{{ story.get_absolute_url }}">{{ comment_count }} comment{{ comment_count|pluralize }}</a>
31 <a href="{{ story.get_absolute_url }}"><img src="{{ MEDIA_URL }}icons/link.png" alt="Permalink" title="Permalink" /></a> 31 <a href="{{ story.get_absolute_url }}"><img src="{{ STATIC_URL }}icons/link.png" alt="Permalink" title="Permalink" /></a>
32 {% if user.is_authenticated %} 32 {% if user.is_authenticated %}
33 <a href="{% url 'news.views.email_story' story.id %}"><img src="{{ MEDIA_URL }}icons/email_go.png" 33 <a href="{% url 'news.views.email_story' story.id %}"><img src="{{ STATIC_URL }}icons/email_go.png"
34 alt="Send this story to a friend" title="Send this story to a friend" /></a> 34 alt="Send this story to a friend" title="Send this story to a friend" /></a>
35 {% endif %} 35 {% endif %}
36 </p> 36 </p>
37 {% tags_for_object story as story_tags %} 37 {% tags_for_object story as story_tags %}
38 {% if story_tags %} 38 {% if story_tags %}
39 <div class="news-tags"> 39 <div class="news-tags">
40 <img src="{{ MEDIA_URL }}icons/tag_blue.png" alt="Tags" title="Tags" /> Tags: 40 <img src="{{ STATIC_URL }}icons/tag_blue.png" alt="Tags" title="Tags" /> Tags:
41 <ul> 41 <ul>
42 {% for tag in story_tags %} 42 {% for tag in story_tags %}
43 <li><a href="{% url 'news-tag_page' tag_name=tag %}">{{ tag }}</a></li> 43 <li><a href="{% url 'news-tag_page' tag_name=tag %}">{{ tag }}</a></li>
44 {% endfor %} 44 {% endfor %}
45 </ul> 45 </ul>