Add missing 'hide_columns' condition in the list sub template.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -53,9 +53,11 @@
|
|||||||
<th>{% trans 'Identifier' %}</th>
|
<th>{% trans 'Identifier' %}</th>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% for column in object_list|get_source_columns %}
|
{% if not hide_columns %}
|
||||||
<th>{{ column.label }}</th>
|
{% for column in object_list|get_source_columns %}
|
||||||
{% endfor %}
|
<th>{{ column.label }}</th>
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% for column in extra_columns %}
|
{% for column in extra_columns %}
|
||||||
<th>{{ column.name }}</th>
|
<th>{{ column.name }}</th>
|
||||||
|
|||||||
Reference in New Issue
Block a user