annotate gpp/templates/downloads/thanks.html @ 97:96eec1ed0fd3

Render the forum page navigation in the view with render_to_string() to avoid doing it twice in the template code. Also undo a mistake in the last commit. Need 2 different orderings for Post objects: by creation date in normal views, and by reverse creation date in the admin.
author Brian Neal <bgneal@gmail.com>
date Sun, 13 Sep 2009 19:58:31 +0000
parents dbd703f7d63a
children 27bee3ac85e6
rev   line source
gremmie@1 1 {% extends 'base.html' %}
gremmie@1 2 {% load downloads_tags %}
gremmie@1 3 {% block title %}Thanks for the Download{% endblock %}
gremmie@1 4 {% block custom_css %}
gremmie@1 5 {{ add_form.media }}
gremmie@1 6 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/downloads.css" />
gremmie@1 7 {% endblock %}
gremmie@1 8 {% block content %}
gremmie@1 9 <h2>Downloads</h2>
gremmie@1 10 {% downloads_navigation %}
gremmie@1 11 <h3>Thanks for the Download</h3>
gremmie@1 12 <p>Thank you for sending in a download! Your file will be reviewed by the site staff and made
gremmie@1 13 available shortly.</p>
gremmie@1 14 {% endblock %}