Move "add environment " link to bottom of section
- this makes things more consistent with the new application flow
This commit is contained in:
parent
7a62133bc3
commit
0632c16968
@ -81,14 +81,9 @@
|
|||||||
"applications.create_member",
|
"applications.create_member",
|
||||||
user_can(permissions.CREATE_APPLICATION_MEMBER)) }}
|
user_can(permissions.CREATE_APPLICATION_MEMBER)) }}
|
||||||
|
|
||||||
<div class='subheading'>
|
<div class="subheading">
|
||||||
{{ 'common.resource_names.environments' | translate }}
|
{{ 'common.resource_names.environments' | translate }}
|
||||||
|
|
||||||
{% if user_can(permissions.CREATE_ENVIRONMENT) %}
|
|
||||||
{% include "applications/fragments/add_new_environment.html" %}
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="panel">
|
<div class="panel">
|
||||||
{% if g.matchesPath("application-environments") %}
|
{% if g.matchesPath("application-environments") %}
|
||||||
{% include "fragments/flash.html" %}
|
{% include "fragments/flash.html" %}
|
||||||
@ -178,8 +173,13 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{% if user_can(permissions.CREATE_ENVIRONMENT) %}
|
||||||
|
<div class='subheading'>
|
||||||
|
{% include "applications/fragments/add_new_environment.html" %}
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
{% if user_can(permissions.DELETE_APPLICATION) %}
|
{% if user_can(permissions.DELETE_APPLICATION) %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user