Mercurial > public > sg101
diff gpp/templates/weblinks/link_summary.html @ 242:7e8d2dda99e3
For #93: fix url scheme for weblinks.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 15 Sep 2010 03:24:01 +0000 |
parents | dbd703f7d63a |
children | 88b2b9cb8c1f |
line wrap: on
line diff
--- a/gpp/templates/weblinks/link_summary.html Wed Sep 15 01:01:40 2010 +0000 +++ b/gpp/templates/weblinks/link_summary.html Wed Sep 15 03:24:01 2010 +0000 @@ -1,12 +1,21 @@ {% extends 'weblinks/base.html' %} {% block title %}Web Links: {{ title }}{% endblock %} +{% block weblinks_css %} +<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/tab-nav.css" /> +<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/pagination.css" /> +{% endblock %} +{% block weblinks_js %} +<script type="text/javascript" src="{{ MEDIA_URL }}js/weblinks.js"></script> +{% endblock %} {% block weblinks_content %} - <h3>{{ title }}</h3> - {% if links %} +<h3>{{ title }}</h3> +{% if page.object_list %} + {% include 'core/pagination.html' %} <dl> - {% for link in links %} + {% for link in page.object_list %} {% include 'weblinks/link.html' %} {% endfor %} </dl> - {% endif %} + {% include 'core/pagination.html' %} +{% endif %} {% endblock %}