Revision b16a4439
Added by Mikaël Ates over 11 years ago
calebasse/statistics/templates/statistics/detail.html | ||
---|---|---|
1 | 1 |
{% extends "ressources/base.html" %} |
2 |
{% load statistics_filters %} |
|
2 | 3 |
|
3 | 4 |
{% block header %} |
4 | 5 |
{{ block.super }} |
... | ... | |
11 | 12 |
{% endblock %} |
12 | 13 |
|
13 | 14 |
{% block content %} |
14 |
{% if data %} |
|
15 |
{% if data_tables %} |
|
16 |
{% for data in data_tables %} |
|
15 | 17 |
<table class="basic"> |
16 | 18 |
<thead> |
17 | 19 |
<tr> |
... | ... | |
24 | 26 |
{% for values in data.1 %} |
25 | 27 |
<tr> |
26 | 28 |
{% for value in values %} |
27 |
{% if value.id %}
|
|
29 |
{% if not value|is_list %}
|
|
28 | 30 |
<td>{{ value }}</td> |
29 | 31 |
{% else %} |
30 | 32 |
<td> |
... | ... | |
40 | 42 |
{% endfor %} |
41 | 43 |
</tbody> |
42 | 44 |
</table> |
45 |
{% endfor %} |
|
43 | 46 |
{% endif %} |
44 | 47 |
{% endblock %} |
Also available in: Unified diff
statistics: add csv render func as an object method. Various minor changes.