Mercurial > public > sg101
changeset 1042:be071e6db77c
Add comments icon on news story.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Fri, 15 Jan 2016 21:36:01 -0600 |
parents | 565c31469bea |
children | 867e84d18b0f |
files | sg101/templates/news/story.html |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/sg101/templates/news/story.html Fri Jan 15 21:29:51 2016 -0600 +++ b/sg101/templates/news/story.html Fri Jan 15 21:36:01 2016 -0600 @@ -70,11 +70,14 @@ with the site staff, you can <a href="{% url 'contact-form' %}">contact us directly</a>.</p> {% endif %} {% else %} +<p> +<img src="{% static "icons/comments.png" %}" alt="Comments" title="Comments" /> {% if story.forums_topic %} <a href="{{ story.forums_topic.get_absolute_url }}">{{ story.forums_comment_count }} comment{{ story.forums_comment_count|pluralize }}</a> {% else %} <p><em>Comments are disabled.</em></p> {% endif %} +</p> {% endif %} </div> {% endblock %}