Mercurial > public > bravenewsurf
annotate bns_website/templates/reviews/review_list.html @ 28:20dc7be59c85
Addresses three items from #2, comment #2.
1. Made review title a mandatory field
3. Changed reviews display to use Bootstrap <blockquote> instead of <cite>
4. Ordering of reviews is now reverse chronological
see ticket #2
author | Chris Ridgway <ckridgway@gmail.com> |
---|---|
date | Thu, 03 Nov 2011 23:00:34 -0500 |
parents | 71f2beb03789 |
children | 4eaaf3809385 |
rev | line source |
---|---|
ckridgway@16 | 1 {% extends 'base.html' %} |
ckridgway@16 | 2 {% load core_tags %} |
ckridgway@16 | 3 {% block title %}Reviews{% endblock %} |
ckridgway@16 | 4 |
ckridgway@16 | 5 {% block custom_css %} |
ckridgway@16 | 6 <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/themes/redmond/jquery-ui.css"> |
ckridgway@16 | 7 {% endblock %} |
ckridgway@16 | 8 {% block custom_js %} |
ckridgway@16 | 9 <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script> |
ckridgway@16 | 10 <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"></script> |
ckridgway@16 | 11 {% endblock %} |
ckridgway@16 | 12 |
ckridgway@16 | 13 {% block content %} |
ckridgway@16 | 14 {% navbar 'reviews' %} |
ckridgway@16 | 15 <h1>Reviews</h1> |
ckridgway@16 | 16 |
ckridgway@28 | 17 <div class="reviews"> |
ckridgway@16 | 18 <ul> |
ckridgway@16 | 19 {% for review in object_list %} |
ckridgway@28 | 20 <li> |
ckridgway@28 | 21 <blockquote> |
ckridgway@28 | 22 <p>{{ review.review }}</p> |
ckridgway@28 | 23 <small>{{ review.reviewer }} - <a href="{{ review.review_url }}">{{ review.review_url }}</a></small> |
ckridgway@28 | 24 </blockquote> |
ckridgway@28 | 25 </li> |
ckridgway@16 | 26 {% endfor %} |
ckridgway@16 | 27 </ul> |
ckridgway@16 | 28 |
ckridgway@16 | 29 {% endblock %} |