Fix missing ‘no templates’ message

This got broken because `template_folder_path` is never an empty list
any more (it always contains at least one item, _Templates_, which is
the root).
This commit is contained in:
Chris Hill-Scott
2018-11-19 15:51:18 +00:00
parent c9908befc2
commit da80dfb6f3
2 changed files with 34 additions and 1 deletions

View File

@@ -18,7 +18,7 @@
{% block maincolumn_content %}
{% if (not templates) and (not template_folders) and (not template_folder_path) %}
{% if (not current_service.all_templates) and (not current_service.all_template_folders) %}
<h1 class="heading-large">
{{ page_title }}