From 0632c1696818265ce6f04374554cfc328f012abd Mon Sep 17 00:00:00 2001 From: graham-dds Date: Thu, 3 Oct 2019 17:43:14 -0400 Subject: [PATCH] Move "add environment " link to bottom of section - this makes things more consistent with the new application flow --- templates/applications/settings.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/templates/applications/settings.html b/templates/applications/settings.html index 8c77a0a8..c33db395 100644 --- a/templates/applications/settings.html +++ b/templates/applications/settings.html @@ -81,14 +81,9 @@ "applications.create_member", user_can(permissions.CREATE_APPLICATION_MEMBER)) }} -
+
{{ 'common.resource_names.environments' | translate }} - - {% if user_can(permissions.CREATE_ENVIRONMENT) %} - {% include "applications/fragments/add_new_environment.html" %} - {% endif %}
-
{% if g.matchesPath("application-environments") %} {% include "fragments/flash.html" %} @@ -178,8 +173,13 @@
+ {% if user_can(permissions.CREATE_ENVIRONMENT) %} +
+ {% include "applications/fragments/add_new_environment.html" %} +
+ {% endif %} - +
{% if user_can(permissions.DELETE_APPLICATION) %}