Mercurial > public > sg101
comparison 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 |
comparison
equal
deleted
inserted
replaced
19:aa2b41c5212b | 20:c0d0779b266f |
---|---|
1 {% extends 'weblinks/base.html' %} | |
2 {% block title %}Web Links: {{ link.title }}{% endblock %} | |
3 {% block weblinks_content %} | |
4 <h3>Link Details: {{ link.title }}</h3> | |
5 <dl> | |
6 {% include 'weblinks/link.html' %} | |
7 </dl> | |
8 {% endblock %} |