Mercurial > public > sg101
annotate gpp/templates/weblinks/link_summary.html @ 569:3fe2eced1be7
Now developing on Ubuntu 12.04 with Python 2.7.
Use symbolic links for media, so add media/banners to .hgignore.
I had a syntax error in banner_tags.py that only Python 2.7 caught.
For local development, read database name from SECRETS.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 29 Apr 2012 16:00:01 -0500 |
parents | 88b2b9cb8c1f |
children |
rev | line source |
---|---|
gremmie@1 | 1 {% extends 'weblinks/base.html' %} |
gremmie@1 | 2 {% block title %}Web Links: {{ title }}{% endblock %} |
bgneal@242 | 3 {% block weblinks_css %} |
bgneal@312 | 4 <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/tab-nav.css" /> |
bgneal@312 | 5 <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/pagination.css" /> |
bgneal@242 | 6 {% endblock %} |
bgneal@242 | 7 {% block weblinks_js %} |
bgneal@312 | 8 <script type="text/javascript" src="{{ STATIC_URL }}js/weblinks.js"></script> |
bgneal@242 | 9 {% endblock %} |
gremmie@1 | 10 {% block weblinks_content %} |
bgneal@242 | 11 <h3>{{ title }}</h3> |
bgneal@242 | 12 {% if page.object_list %} |
bgneal@242 | 13 {% include 'core/pagination.html' %} |
gremmie@1 | 14 <dl> |
bgneal@242 | 15 {% for link in page.object_list %} |
gremmie@1 | 16 {% include 'weblinks/link.html' %} |
gremmie@1 | 17 {% endfor %} |
gremmie@1 | 18 </dl> |
bgneal@242 | 19 {% include 'core/pagination.html' %} |
bgneal@242 | 20 {% endif %} |
gremmie@1 | 21 {% endblock %} |