Mercurial > public > bravenewsurf
annotate bns_website/templates/reviews/review_list.html @ 108:9ca05ec9b64e tip
Update buy links.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 27 Sep 2014 12:36:06 -0500 |
parents | c3b5b4639a15 |
children |
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 content %} |
ckridgway@16 | 6 {% navbar 'reviews' %} |
ckridgway@16 | 7 <h1>Reviews</h1> |
ckridgway@16 | 8 |
ckridgway@28 | 9 <div class="reviews"> |
ckridgway@34 | 10 {% if object_list %} |
ckridgway@34 | 11 <ul class="review-list"> |
ckridgway@34 | 12 {% for review in object_list %} |
ckridgway@45 | 13 <li id="review{{ review.id }}" class="review-list-item"> |
ckridgway@45 | 14 <blockquote {% if review.review_url %}cite="{{ review.review_url }}"{% endif %}> |
ckridgway@34 | 15 <p>{{ review.review|safe }}</p> |
ckridgway@34 | 16 <small> |
ckridgway@34 | 17 {{ review.reviewer }} |
ckridgway@34 | 18 {% if review.review_url %} |
ckridgway@34 | 19 - <a href="{{ review.review_url }}"><em>{% if review.review_site %}{{ review.review_site }}{% else %}{{ review.review_url }}{% endif %}</em></a> |
ckridgway@34 | 20 {% else %}{% if review.review_site %} |
ckridgway@34 | 21 - <em>{{ review.review_site }}</em> |
ckridgway@34 | 22 {% endif %}{% endif %} |
ckridgway@34 | 23 </small> |
ckridgway@34 | 24 </blockquote> |
ckridgway@34 | 25 </li> |
ckridgway@34 | 26 {% endfor %} |
ckridgway@34 | 27 </ul> |
ckridgway@34 | 28 {% else %} |
ckridgway@46 | 29 <p>Coming soon...</p> |
ckridgway@34 | 30 {% endif %} |
bgneal@72 | 31 </div> |
ckridgway@16 | 32 {% endblock %} |