annotate bns_website/templates/reviews/review_list.html @ 31:9b62e4eef794

Now that we have HTML as review content, must avoid styling <ul> & <li> in review content.
author Brian Neal <bgneal@gmail.com>
date Fri, 04 Nov 2011 20:08:45 -0500
parents 4eaaf3809385
children b34d5e7affe3
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">
bgneal@31 18 <ul class="review-list">
ckridgway@16 19 {% for review in object_list %}
bgneal@31 20 <li class="review-list-item">
ckridgway@28 21 <blockquote>
bgneal@30 22 <p>{{ review.review|safe }}</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 %}