Updates reporting template to match new API

This commit is contained in:
Christopher Neugebauer 2016-09-13 19:06:59 +10:00
parent cb4971fc25
commit 9b888ab4c9

View file

@ -23,14 +23,11 @@
<th>{{ heading }}</th>
{% endfor %}
</tr>
{% for line in report.data %}
{% for line in report.rows %}
<tr>
{% for item in line %}
<td>
{% if report.link_view and forloop.counter0 == 0 %}
<a href="{% url report.link_view item %}">
{% endif %}
{{ item }}
{{ item|safe }}
</td>
{% endfor %}
</tr>