Mercurial > public > sg101
comparison 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 |
comparison
equal
deleted
inserted
replaced
241:27bee3ac85e6 | 242:7e8d2dda99e3 |
---|---|
1 {% extends 'weblinks/base.html' %} | 1 {% extends 'weblinks/base.html' %} |
2 {% block title %}Web Links: {{ title }}{% endblock %} | 2 {% block title %}Web Links: {{ title }}{% endblock %} |
3 {% block weblinks_css %} | |
4 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/tab-nav.css" /> | |
5 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/pagination.css" /> | |
6 {% endblock %} | |
7 {% block weblinks_js %} | |
8 <script type="text/javascript" src="{{ MEDIA_URL }}js/weblinks.js"></script> | |
9 {% endblock %} | |
3 {% block weblinks_content %} | 10 {% block weblinks_content %} |
4 <h3>{{ title }}</h3> | 11 <h3>{{ title }}</h3> |
5 {% if links %} | 12 {% if page.object_list %} |
13 {% include 'core/pagination.html' %} | |
6 <dl> | 14 <dl> |
7 {% for link in links %} | 15 {% for link in page.object_list %} |
8 {% include 'weblinks/link.html' %} | 16 {% include 'weblinks/link.html' %} |
9 {% endfor %} | 17 {% endfor %} |
10 </dl> | 18 </dl> |
11 {% endif %} | 19 {% include 'core/pagination.html' %} |
20 {% endif %} | |
12 {% endblock %} | 21 {% endblock %} |