Mercurial > public > sg101
annotate gpp/templates/legal/view.html @ 23:a5f27f25fa52
Added a latest_downloads template tag. Made the comments view the details view for a download. Changed get_absolute_url to point to this new view.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 19 Apr 2009 21:16:59 +0000 |
parents | dbd703f7d63a |
children |
rev | line source |
---|---|
gremmie@1 | 1 {% extends 'base.html' %} |
gremmie@1 | 2 {% block title %}{{ policy.title }}{% endblock %} |
gremmie@1 | 3 {% block content %} |
gremmie@1 | 4 <h2>{{ policy.title }}</h2> |
gremmie@1 | 5 <div class="legal"> |
gremmie@1 | 6 {{ policy.text|linebreaks }} |
gremmie@1 | 7 </div> |
gremmie@1 | 8 <p><em>Last Revised: {{ policy.revised_date }}</em></p> |
gremmie@1 | 9 {% endblock %} |