diff --git a/app/templates/views/api/keys.html b/app/templates/views/api/keys.html index 8293d31cc..95d797331 100644 --- a/app/templates/views/api/keys.html +++ b/app/templates/views/api/keys.html @@ -23,19 +23,18 @@ {% endcall %} {% else %} - +
+
+

+ API keys +

+
+
+ Create an API key +
+
{% endif %} -
-
-

- API keys -

-
-
- Create an API key -
-
{% call(item, row_number) list_table( keys, diff --git a/app/templates/views/templates/template.html b/app/templates/views/templates/template.html index a2638582d..95ea73c83 100644 --- a/app/templates/views/templates/template.html +++ b/app/templates/views/templates/template.html @@ -27,9 +27,7 @@ {% endcall %}
- {% endif %} - - {% if template_delete_confirmation_message %} + {% elif template_delete_confirmation_message %}
{% call banner_wrapper(type='dangerous', subhead=template_delete_confirmation_message[0]) %}

@@ -41,10 +39,10 @@ {% endcall %}

+ {% else %} +

{{ template.name }}

{% endif %} -

{{ template.name }}

-
{% with show_title=False, expanded=True %} {% include 'views/templates/_template.html' %}