gremmie@1: {% extends 'base.html' %} gremmie@1: {% load downloads_tags %} gremmie@1: {% load comment_tags %} bgneal@6: {% load script_tags %} gremmie@1: {% block title %}Downloads Comments{% endblock %} gremmie@1: {% block custom_css %} gremmie@1: <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/comments.css" /> gremmie@1: <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/downloads.css" /> gremmie@1: {% endblock %} gremmie@1: {% block custom_js %} bgneal@6: {% script_tags "jquery" %} bgneal@6: {% script_tags "markitup" %} gremmie@1: <script type="text/javascript" src="{{ MEDIA_URL }}js/comments.js"></script> gremmie@1: <script type="text/javascript" src="{{ MEDIA_URL }}js/downloads/rating.js"></script> gremmie@1: {% endblock %} gremmie@1: {% block content %} gremmie@1: <h2>Downloads</h2> gremmie@1: {% downloads_navigation %} gremmie@1: <h3>Download Comments For {{ download.title }}</h3> gremmie@1: gremmie@1: <dl> gremmie@1: {% include 'downloads/download.html' %} gremmie@1: </dl> gremmie@1: gremmie@1: {% get_comment_count for download as comment_count %} gremmie@1: <p>This download has <span id="comment-count">{{ comment_count }}</span> comment{{ comment_count|pluralize }}.</p> gremmie@1: <hr /> gremmie@1: {% render_comment_list download %} gremmie@1: {% render_comment_form for download %} gremmie@1: {% endblock %}