Updates reporting template to match new API
This commit is contained in:
parent
cb4971fc25
commit
9b888ab4c9
1 changed files with 2 additions and 5 deletions
|
@ -23,14 +23,11 @@
|
||||||
<th>{{ heading }}</th>
|
<th>{{ heading }}</th>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tr>
|
</tr>
|
||||||
{% for line in report.data %}
|
{% for line in report.rows %}
|
||||||
<tr>
|
<tr>
|
||||||
{% for item in line %}
|
{% for item in line %}
|
||||||
<td>
|
<td>
|
||||||
{% if report.link_view and forloop.counter0 == 0 %}
|
{{ item|safe }}
|
||||||
<a href="{% url report.link_view item %}">
|
|
||||||
{% endif %}
|
|
||||||
{{ item }}
|
|
||||||
</td>
|
</td>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Reference in a new issue