diff bns_website/templates/reviews/review_list.html @ 16:71f2beb03789

First stab at the review app.
author Chris Ridgway <ckridgway@gmail.com>
date Sun, 30 Oct 2011 23:07:05 -0500
parents
children 20dc7be59c85 ced908af601a
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bns_website/templates/reviews/review_list.html	Sun Oct 30 23:07:05 2011 -0500
@@ -0,0 +1,26 @@
+{% extends 'base.html' %}
+{% load core_tags %}
+{% block title %}Reviews{% endblock %}
+
+{% block custom_css %}
+<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/themes/redmond/jquery-ui.css">
+{% endblock %}
+{% block custom_js %}
+<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
+<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"></script>
+{% endblock %}
+
+{% block content %}
+{% navbar 'reviews' %}
+<h1>Reviews</h1>
+
+<ul>
+{% for review in object_list %}
+	<li>
+		<cite>{{ review.review }}</cite>
+		<br/><br/>- {{ review.reviewer }} - <a href="{{ review.review_url }}">{{ review.review_url }}</a>
+	</li>
+{% endfor %}
+</ul>
+
+{% endblock %}