comparison 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
comparison
equal deleted inserted replaced
27:a5e8741452a3 28:20dc7be59c85
12 12
13 {% block content %} 13 {% block content %}
14 {% navbar 'reviews' %} 14 {% navbar 'reviews' %}
15 <h1>Reviews</h1> 15 <h1>Reviews</h1>
16 16
17 <div class="reviews">
17 <ul> 18 <ul>
18 {% for review in object_list %} 19 {% for review in object_list %}
19 <li> 20 <li>
20 <cite>{{ review.review }}</cite> 21 <blockquote>
21 <br/><br/>- {{ review.reviewer }} - <a href="{{ review.review_url }}">{{ review.review_url }}</a> 22 <p>{{ review.review }}</p>
22 </li> 23 <small>{{ review.reviewer }} - <a href="{{ review.review_url }}">{{ review.review_url }}</a></small>
24 </blockquote>
25 </li>
23 {% endfor %} 26 {% endfor %}
24 </ul> 27 </ul>
25 28
26 {% endblock %} 29 {% endblock %}