view 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
line wrap: on
line source
{% extends 'base.html' %}
{% load core_tags %}
{% block title %}Reviews{% endblock %}

{% block content %}
{% navbar 'reviews' %}
<h1>Reviews</h1>

<div class="reviews">
{% if object_list %}
   <ul class="review-list">
   {% for review in object_list %}
      <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 }}
               {% if review.review_url %}
                  - <a href="{{ review.review_url }}"><em>{% if review.review_site %}{{ review.review_site }}{% else %}{{ review.review_url }}{% endif %}</em></a>
               {% else %}{% if review.review_site %}
                  - <em>{{ review.review_site }}</em>
               {% endif %}{% endif %}
            </small>
         </blockquote>
      </li>
   {% endfor %}
   </ul>
{% else %}
   <p>Coming soon...</p>
{% endif %}
</div>
{% endblock %}