Mercurial > public > bravenewsurf
comparison bns_website/templates/reviews/review_list.html @ 45:2598bc18b6fb
Shamelessly stole Bob's anchor target method. Fixed CSS for reviews so that the top of the review is not clipped by the navbar.
author | Chris Ridgway <ckridgway@gmail.com> |
---|---|
date | Wed, 09 Nov 2011 23:18:32 -0600 |
parents | 37d9b6b1a097 |
children | 51c01a3cb2f2 |
comparison
equal
deleted
inserted
replaced
44:c32897e111dc | 45:2598bc18b6fb |
---|---|
16 | 16 |
17 <div class="reviews"> | 17 <div class="reviews"> |
18 {% if object_list %} | 18 {% if object_list %} |
19 <ul class="review-list"> | 19 <ul class="review-list"> |
20 {% for review in object_list %} | 20 {% for review in object_list %} |
21 <li class="review-list-item"> | 21 <li id="review{{ review.id }}" class="review-list-item"> |
22 <blockquote> | 22 <blockquote {% if review.review_url %}cite="{{ review.review_url }}"{% endif %}> |
23 <p>{{ review.review|safe }}</p> | 23 <p>{{ review.review|safe }}</p> |
24 <small> | 24 <small> |
25 {{ review.reviewer }} | 25 {{ review.reviewer }} |
26 {% if review.review_url %} | 26 {% if review.review_url %} |
27 - <a href="{{ review.review_url }}"><em>{% if review.review_site %}{{ review.review_site }}{% else %}{{ review.review_url }}{% endif %}</em></a> | 27 - <a href="{{ review.review_url }}"><em>{% if review.review_site %}{{ review.review_site }}{% else %}{{ review.review_url }}{% endif %}</em></a> |