Skip to content

Commit 67c69ca

Browse files
Adma Pattersonwardi
authored andcommitted
tableheader.html: only show delete column if necessary. happens when a folder has only an empty folder in it.
1 parent 00d6cac commit 67c69ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

filebrowser/templates/filebrowser/include/tableheader.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
{% ifnotequal query.o "date" %}<th><a href="{% query_string "" "o,ot,p" %}&amp;ot=asc&amp;o=date">{% trans "Date" %}</a></th>{% endifnotequal %}
2222
<!-- ACTIONS -->
2323
<th>&nbsp;</th>
24-
<th>&nbsp;</th>
24+
{% if results_var.delete_total %}<th>&nbsp;</th>{% endif %}
2525
<!-- DEBUG -->
2626
{% if settings_var.DEBUG %}<th>Debug</th>{% endif %}
2727
</tr>

0 commit comments

Comments
 (0)