gremmie@1: {% extends 'news/base.html' %} bgneal@310: {% load url from future %} gremmie@1: {% load tagging_tags %} gremmie@1: {% load comment_tags %} bgneal@6: {% load script_tags %} gremmie@1: {% block title %}News: {{ story.title }}{% endblock %} gremmie@1: {% block news_css %} bgneal@312: gremmie@1: {% endblock %} gremmie@1: {% block custom_js %} bgneal@6: {% if story.can_comment_on %} bgneal@127: {% script_tags "markitup jquery-ui" %} bgneal@312: bgneal@6: {% endif %} gremmie@1: {% endblock %} gremmie@1: {% block news_content %} bgneal@380:
gremmie@1:

{{ story.title }}

gremmie@1:
bgneal@204: Submitted by {{ story.submitter.username }} on {{ story.date_submitted|date:"F d, Y" }}. gremmie@1:
bgneal@5:
gremmie@1:
bgneal@310: gremmie@1: {{ story.category.title }} gremmie@1: {{ story.short_text|safe }} gremmie@1: {{ story.long_text|safe }} gremmie@1:
bgneal@5:
bgneal@24:

bgneal@310: Category: {{ story.category.title }} bgneal@312: Story Permalink bgneal@24: {% if user.is_authenticated %} bgneal@312: Send this story to a friend bgneal@24: {% endif %} bgneal@24:

bgneal@205: {% tags_for_object story as story_tags %} bgneal@205: {% if story_tags %} gremmie@1:
bgneal@312: Tags Tags: gremmie@1:
    gremmie@1: {% for tag in story_tags %} bgneal@310:
  • {{ tag.name }}
  • gremmie@1: {% endfor %} gremmie@1:
gremmie@1:
gremmie@1: {% endif %} gremmie@1:
gremmie@1: {% get_comment_count for story as comment_count %} gremmie@1:

This story has {{ comment_count }} comment{{ comment_count|pluralize }}.

gremmie@1:
gremmie@1: {% render_comment_list story %} gremmie@1: {% if story.can_comment_on %} gremmie@1:

Leave a comment?

gremmie@1: {% render_comment_form for story %} gremmie@1: {% else %} gremmie@1:

Comments are closed for this story. If you'd like to share your thoughts on this story bgneal@310: with the site staff, you can contact us directly.

gremmie@1: {% endif %} bgneal@380:
gremmie@1: {% endblock %}