Move "add environment " link to bottom of section

- this makes things more consistent with the new application flow
This commit is contained in:
graham-dds 2019-10-03 17:43:14 -04:00
parent 7a62133bc3
commit 0632c16968

View File

@ -81,14 +81,9 @@
"applications.create_member",
user_can(permissions.CREATE_APPLICATION_MEMBER)) }}
<div class='subheading'>
<div class="subheading">
{{ 'common.resource_names.environments' | translate }}
{% if user_can(permissions.CREATE_ENVIRONMENT) %}
{% include "applications/fragments/add_new_environment.html" %}
{% endif %}
</div>
<div class="panel">
{% if g.matchesPath("application-environments") %}
{% include "fragments/flash.html" %}
@ -178,8 +173,13 @@
</ul>
</div>
</div>
{% if user_can(permissions.CREATE_ENVIRONMENT) %}
<div class='subheading'>
{% include "applications/fragments/add_new_environment.html" %}
</div>
{% endif %}
</div>
<hr>
{% if user_can(permissions.DELETE_APPLICATION) %}