Mercurial > public > sg101
view gpp/templates/news/index.html @ 570:0a0a069ab645
For Django 1.4, remove the obsolete setting ADMIN_MEDIA_PREFIX.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 02 May 2012 20:38:17 -0500 |
parents | f0f3966ea44f |
children |
line wrap: on
line source
{% extends 'news/base.html' %} {% load script_tags %} {% block title %}News: {{ title }}{% endblock %} {% block news_css %} <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/pagination.css" /> {% endblock %} {% block begin_body %}{% include 'core/social_sharing_begin.html' %}{% endblock %} {% block news_content %} <h3>{{ title }}</h3> {% if page.object_list %} {% include 'core/pagination.html' %} {% for story in page.object_list %} {% include 'news/story_summary.html' %} {% endfor %} {% include 'core/pagination.html' %} <div style="clear:right;"></div> {% else %} <p>No news at this time.</p> {% endif %} {% endblock %} {% block end_body %}{% include 'core/social_sharing_end.html' %}{% endblock %}