annotate gpp/templates/news/index.html @ 484:bbbc357ac5f3

For #233; first commit for adding social media sharing buttons to news stories.
author Brian Neal <bgneal@gmail.com>
date Tue, 18 Oct 2011 00:04:37 +0000
parents 88b2b9cb8c1f
children f0f3966ea44f
rev   line source
gremmie@1 1 {% extends 'news/base.html' %}
bgneal@484 2 {% load script_tags %}
gremmie@1 3 {% block title %}News: {{ title }}{% endblock %}
gremmie@1 4 {% block news_css %}
bgneal@312 5 <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/pagination.css" />
gremmie@1 6 {% endblock %}
bgneal@484 7 {% block custom_js %}
bgneal@484 8 {% script_tags "social" %}
bgneal@484 9 {% endblock %}
gremmie@1 10 {% block news_content %}
gremmie@1 11 <h3>{{ title }}</h3>
gremmie@1 12
bgneal@240 13 {% if page.object_list %}
gremmie@1 14 {% include 'core/pagination.html' %}
gremmie@1 15 {% for story in page.object_list %}
gremmie@1 16 {% include 'news/story_summary.html' %}
gremmie@1 17 {% endfor %}
bgneal@240 18 {% include 'core/pagination.html' %}
gremmie@1 19 <div style="clear:right;"></div>
gremmie@1 20 {% else %}
bgneal@240 21 <p>No news at this time.</p>
gremmie@1 22 {% endif %}
gremmie@1 23
gremmie@1 24 {% endblock %}