added 'tables' template tags to display objects lists in 'maraudes' and 'sujets'
This commit is contained in:
13
website/templates/tables/table.html
Normal file
13
website/templates/tables/table.html
Normal file
@@ -0,0 +1,13 @@
|
||||
<table class="table table-condensed">
|
||||
{% for row in rows %}
|
||||
<tr>
|
||||
{% for object in row %}
|
||||
<td>
|
||||
{% if object %}
|
||||
{% include cell_template with object=object %}
|
||||
{%endif%}
|
||||
</td>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
1
website/templates/tables/table_cell.html
Normal file
1
website/templates/tables/table_cell.html
Normal file
@@ -0,0 +1 @@
|
||||
{{ object }}
|
||||
Reference in New Issue
Block a user