Mercurial > public > bravenewsurf
diff 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 |
line wrap: on
line diff
--- a/bns_website/templates/reviews/review_list.html Mon Nov 07 21:22:56 2011 -0600 +++ b/bns_website/templates/reviews/review_list.html Wed Nov 09 23:18:32 2011 -0600 @@ -18,8 +18,8 @@ {% if object_list %} <ul class="review-list"> {% for review in object_list %} - <li class="review-list-item"> - <blockquote> + <li id="review{{ review.id }}" class="review-list-item"> + <blockquote {% if review.review_url %}cite="{{ review.review_url }}"{% endif %}> <p>{{ review.review|safe }}</p> <small> {{ review.reviewer }}