Changeset - c8e21b8011e3
[Not reviewed]
0 1 1
Christopher Neugebauer - 5 years ago 2016-09-01 23:59:28
chrisjrn@gmail.com
Adds link to all reports.
2 files changed with 28 insertions and 0 deletions:
0 comments (0 inline, 0 general)
pinaxcon/templates/dashboard.html
Show inline comments
...
 
@@ -164,6 +164,13 @@
 
                  to put this toward other purchases, or to refund it.</p>
 
              {% endif %}
 
            {% endif %}
 

	
 
          {% if user.is_staff %}
 
            <h4>Registration reports</h4>
 

	
 
            <p><a href="{% url "reports_list" %}">View available reports</a>.
 
            </p>
 
          {% endif %}
 
          </div>
 
    </div>
 

	
pinaxcon/templates/registrasion/reports_list.html
Show inline comments
 
new file 100644
 
{% extends "site_base.html" %}
 
{% load bootstrap %}
 
{% load registrasion_tags %}
 
{% block body %}
 

	
 
<h2>Registration reports</h2>
 

	
 
<table class="table table-striped">
 
  {% for report in reports %}
 
    <tr>
 
      <td>
 
        <a href="{{ report.url }}">{{ report.name }}</a>
 
      </td>
 
      <td>
 
        {{ report.description }}
 
      </td>
 
    </tr>
 
  {% endfor %}
 
</table>
 

	
 
{% endblock %}
0 comments (0 inline, 0 general)