diff --git a/notes/templates/notes/liste.html b/notes/templates/notes/liste.html index f9914bd..894bd3b 100644 --- a/notes/templates/notes/liste.html +++ b/notes/templates/notes/liste.html @@ -32,8 +32,5 @@ {% endif %} - -
- {% table object_list cols=3 cell_template=table_cell_template header=table_header %} -
+ {% table object_list cols=3 cell_template=table_cell_template %} {% endblock %} diff --git a/notes/templates/notes/table_cell_sujets.html b/notes/templates/notes/table_cell_sujets.html index 8bcbaca..f6539d4 100644 --- a/notes/templates/notes/table_cell_sujets.html +++ b/notes/templates/notes/table_cell_sujets.html @@ -1,8 +1,8 @@ {{object}} -
- {{ object.notes.count }} notes +
+ {{ object.notes.count }} notes {% with object.statistiques.info_completed as completed %} - {{ completed }} % + {{ completed }} % {% endwith %}
diff --git a/notes/templates/notes/table_inline.html b/notes/templates/notes/table_inline.html index e24db4d..51eb560 100644 --- a/notes/templates/notes/table_inline.html +++ b/notes/templates/notes/table_inline.html @@ -1,5 +1,5 @@ - - + + {% if link %} {{header}} {% else %} @@ -8,9 +8,9 @@
{% for label in labels %} - {{label}} + {{label}} {% endfor %}
-

{{text | linebreaks }}

+

{{text | linebreaks }}

diff --git a/website/templates/tables/table.html b/website/templates/tables/table.html index 7da22e8..713340f 100644 --- a/website/templates/tables/table.html +++ b/website/templates/tables/table.html @@ -1,7 +1,9 @@ - - {% if header %}{% endif %} - {% for row in rows %} - {% for object in row %}
{{ header }}
+ + {% if header %} + + {% endif %} + {% for row in rows %} + {% for object in row %} {% endfor %}
{{ header }}
{% if object %}{% include cell_template with object=object %}{%endif%}