From c8e21b8011e31156346f4d04fd5ffca26f9e04b6 Mon Sep 17 00:00:00 2001
From: Christopher Neugebauer
Date: Fri, 2 Sep 2016 09:59:28 +1000
Subject: [PATCH] Adds link to all reports.
---
pinaxcon/templates/dashboard.html | 7 +++++++
.../templates/registrasion/reports_list.html | 21 +++++++++++++++++++
2 files changed, 28 insertions(+)
create mode 100644 pinaxcon/templates/registrasion/reports_list.html
diff --git a/pinaxcon/templates/dashboard.html b/pinaxcon/templates/dashboard.html
index 350c9d6..b9c0408 100644
--- a/pinaxcon/templates/dashboard.html
+++ b/pinaxcon/templates/dashboard.html
@@ -164,6 +164,13 @@
to put this toward other purchases, or to refund it.
{% endif %}
{% endif %}
+
+ {% if user.is_staff %}
+ Registration reports
+
+ View available reports.
+
+ {% endif %}
diff --git a/pinaxcon/templates/registrasion/reports_list.html b/pinaxcon/templates/registrasion/reports_list.html
new file mode 100644
index 0000000..f588359
--- /dev/null
+++ b/pinaxcon/templates/registrasion/reports_list.html
@@ -0,0 +1,21 @@
+{% extends "site_base.html" %}
+{% load bootstrap %}
+{% load registrasion_tags %}
+{% block body %}
+
+Registration reports
+
+
+ {% for report in reports %}
+
+
+ {{ report.name }}
+ |
+
+ {{ report.description }}
+ |
+
+ {% endfor %}
+
+
+{% endblock %}