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>
|
||||
{% 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>
|
||||
|
|
Loading…
Reference in a new issue