Mercurial > public > sg101
annotate gpp/templates/weblinks/link_detail.html @ 20:c0d0779b266f
Created a template tag for the latest weblinks: latest_weblinks. This necessitated adding a get_absolute_url function for the Link model along with a new view for it.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 19 Apr 2009 20:41:37 +0000 |
parents | |
children |
rev | line source |
---|---|
bgneal@20 | 1 {% extends 'weblinks/base.html' %} |
bgneal@20 | 2 {% block title %}Web Links: {{ link.title }}{% endblock %} |
bgneal@20 | 3 {% block weblinks_content %} |
bgneal@20 | 4 <h3>Link Details: {{ link.title }}</h3> |
bgneal@20 | 5 <dl> |
bgneal@20 | 6 {% include 'weblinks/link.html' %} |
bgneal@20 | 7 </dl> |
bgneal@20 | 8 {% endblock %} |