Mercurial > public > sg101
annotate gpp/templates/downloads/download_detail.html @ 275:2b14840cb882
Fixing #127; using jquery cycle plugin to power the home page slideshow.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Mon, 27 Sep 2010 03:36:58 +0000 |
parents | 27bee3ac85e6 |
children | 88b2b9cb8c1f |
rev | line source |
---|---|
bgneal@23 | 1 {% extends 'base.html' %} |
bgneal@23 | 2 {% load downloads_tags %} |
bgneal@23 | 3 {% load comment_tags %} |
bgneal@23 | 4 {% load script_tags %} |
bgneal@23 | 5 {% block title %}Downloads Details{% endblock %} |
bgneal@23 | 6 {% block custom_css %} |
bgneal@23 | 7 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/comments.css" /> |
bgneal@23 | 8 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/downloads.css" /> |
bgneal@23 | 9 {% endblock %} |
bgneal@23 | 10 {% block custom_js %} |
bgneal@127 | 11 {% script_tags "markitup jquery-ui" %} |
bgneal@23 | 12 <script type="text/javascript" src="{{ MEDIA_URL }}js/comments.js"></script> |
bgneal@23 | 13 <script type="text/javascript" src="{{ MEDIA_URL }}js/downloads/rating.js"></script> |
bgneal@23 | 14 {% endblock %} |
bgneal@23 | 15 {% block content %} |
bgneal@23 | 16 <h2>Downloads</h2> |
bgneal@241 | 17 {% include 'downloads/navigation.html' %} |
bgneal@23 | 18 <h3>Download Details For {{ download.title }}</h3> |
bgneal@23 | 19 |
bgneal@23 | 20 <dl> |
bgneal@23 | 21 {% include 'downloads/download.html' %} |
bgneal@23 | 22 </dl> |
bgneal@23 | 23 |
bgneal@23 | 24 {% get_comment_count for download as comment_count %} |
bgneal@23 | 25 <p>This download has <span id="comment-count">{{ comment_count }}</span> comment{{ comment_count|pluralize }}.</p> |
bgneal@23 | 26 <hr /> |
bgneal@23 | 27 {% render_comment_list download %} |
bgneal@23 | 28 {% render_comment_form for download %} |
bgneal@23 | 29 {% endblock %} |