Mercurial > public > sg101
comparison gpp/templates/downloads/download_comments.html @ 1:dbd703f7d63a
Initial import of sg101 stuff from private repository.
author | gremmie |
---|---|
date | Mon, 06 Apr 2009 02:43:12 +0000 |
parents | |
children | b6263ac72052 |
comparison
equal
deleted
inserted
replaced
0:900ba3c7b765 | 1:dbd703f7d63a |
---|---|
1 {% extends 'base.html' %} | |
2 {% load downloads_tags %} | |
3 {% load comment_tags %} | |
4 {% block title %}Downloads Comments{% endblock %} | |
5 {% block custom_css %} | |
6 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/comments.css" /> | |
7 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/downloads.css" /> | |
8 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}js/markitup/skins/markitup/style.css" /> | |
9 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}js/markitup/sets/markdown/style.css" /> | |
10 {% endblock %} | |
11 {% block custom_js %} | |
12 <script type="text/javascript" src="{{ MEDIA_URL }}js/jquery-1.2.6.min.js"></script> | |
13 <script type="text/javascript" src="{{ MEDIA_URL }}js/comments.js"></script> | |
14 <script type="text/javascript" src="{{ MEDIA_URL }}js/markitup/jquery.markitup.pack.js"></script> | |
15 <script type="text/javascript" src="{{ MEDIA_URL }}js/markitup/sets/markdown/set.js"></script> | |
16 <script type="text/javascript" src="{{ MEDIA_URL }}js/downloads/rating.js"></script> | |
17 {% endblock %} | |
18 {% block content %} | |
19 <h2>Downloads</h2> | |
20 {% downloads_navigation %} | |
21 <h3>Download Comments For {{ download.title }}</h3> | |
22 | |
23 <dl> | |
24 {% include 'downloads/download.html' %} | |
25 </dl> | |
26 | |
27 {% get_comment_count for download as comment_count %} | |
28 <p>This download has <span id="comment-count">{{ comment_count }}</span> comment{{ comment_count|pluralize }}.</p> | |
29 <hr /> | |
30 {% render_comment_list download %} | |
31 {% render_comment_form for download %} | |
32 {% endblock %} |