diff --git a/AMW_angular/io/src/app/settings/environments/environments-page.component.html b/AMW_angular/io/src/app/settings/environments/environments-page.component.html index cf4f78cc9..1e6d6dcf2 100644 --- a/AMW_angular/io/src/app/settings/environments/environments-page.component.html +++ b/AMW_angular/io/src/app/settings/environments/environments-page.component.html @@ -1,60 +1,85 @@ -
+

Environments

@if (permissions().canAdd) { - - Add Domain - } @for(domain of environmentTree(); track domain.id){ -
-
-
-
- {{ domain.name }} -
-
- @if (permissions().canEdit){ - - - } -
-
- @if(permissions().canDelete){ - + + + Add Domain + + } + @for (domain of environmentTree(); track domain.id) { +
+
+

{{ domain.name }}

+
+
+ @if (permissions().canDelete) { + - } -
-
-
-
- @if(domain.children.length > 0) { @for (env of domain.children; track env.id) { -
-
{{ env.name }}
-
- @if (permissions().canEdit){ - - + } + @if (permissions().canEdit) { + + + } +
+
+
+ @if (domain.children.length > 0) { + + + + + + + + + @for (env of domain.children; track env.id) { + + + + + + + + } +
Environment nameEnvironment aliasActions
{{ env.name }}{{ env.nameAlias ? env.nameAlias : '-' }} + @if (permissions().canEdit) { + + + + } + @if (permissions().canDelete) { + + + + } +
+
+ @if (permissions().canAdd) { + + + Add Environment + } -
-
- @if(permissions().canDelete){ - - - + } @else { +

No environments added yet.

+ @if (permissions().canAdd) { + + + Add Environment + } -
-
+ }
- } } @else{ -

No environments added yet.

- } @if (permissions().canAdd){ - - Add Environment - }
-
+ }