mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 14:09:20 -04:00
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:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user