Mercurial > public > sg101
annotate gpp/templates/downloads/download_comments.html @ 7:ca66189c7c44
Added tiny_mce to the GPP_THIRD_PARTY_JS setting. Updated code to use it.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 12 Apr 2009 00:31:36 +0000 |
parents | b6263ac72052 |
children | f408971657b9 |
rev | line source |
---|---|
gremmie@1 | 1 {% extends 'base.html' %} |
gremmie@1 | 2 {% load downloads_tags %} |
gremmie@1 | 3 {% load comment_tags %} |
bgneal@6 | 4 {% load script_tags %} |
gremmie@1 | 5 {% block title %}Downloads Comments{% endblock %} |
gremmie@1 | 6 {% block custom_css %} |
gremmie@1 | 7 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/comments.css" /> |
gremmie@1 | 8 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/downloads.css" /> |
gremmie@1 | 9 {% endblock %} |
gremmie@1 | 10 {% block custom_js %} |
bgneal@6 | 11 {% script_tags "jquery" %} |
bgneal@6 | 12 {% script_tags "markitup" %} |
gremmie@1 | 13 <script type="text/javascript" src="{{ MEDIA_URL }}js/comments.js"></script> |
gremmie@1 | 14 <script type="text/javascript" src="{{ MEDIA_URL }}js/downloads/rating.js"></script> |
gremmie@1 | 15 {% endblock %} |
gremmie@1 | 16 {% block content %} |
gremmie@1 | 17 <h2>Downloads</h2> |
gremmie@1 | 18 {% downloads_navigation %} |
gremmie@1 | 19 <h3>Download Comments For {{ download.title }}</h3> |
gremmie@1 | 20 |
gremmie@1 | 21 <dl> |
gremmie@1 | 22 {% include 'downloads/download.html' %} |
gremmie@1 | 23 </dl> |
gremmie@1 | 24 |
gremmie@1 | 25 {% get_comment_count for download as comment_count %} |
gremmie@1 | 26 <p>This download has <span id="comment-count">{{ comment_count }}</span> comment{{ comment_count|pluralize }}.</p> |
gremmie@1 | 27 <hr /> |
gremmie@1 | 28 {% render_comment_list download %} |
gremmie@1 | 29 {% render_comment_form for download %} |
gremmie@1 | 30 {% endblock %} |