diff --git a/src/app/components/admin-app/admin-app-template-search/admin-template-details/admin-template-details.component.html b/src/app/components/admin-app/admin-app-template-search/admin-template-details/admin-template-details.component.html index 8821dbd6..d8f5ceed 100644 --- a/src/app/components/admin-app/admin-app-template-search/admin-template-details/admin-template-details.component.html +++ b/src/app/components/admin-app/admin-app-template-search/admin-template-details/admin-template-details.component.html @@ -5,9 +5,9 @@
+ Name + URL + Icon Path Edit View: {{ view.name }}
+ Status Edit View: {{ view.name }} - @for (t of applicationTemplates; track t) { + @for (t of applicationTemplates; track t.id) { @@ -157,7 +157,7 @@

Edit View: {{ view.name }}

Add New Team
- @for (teamContainer of teams; track teamContainer) { + @for (teamContainer of teams; track teamContainer.team.id) { Edit View: {{ view.name }} {{ teamContainer.name }} + @if (view.defaultTeamId === teamContainer.team.id) { + DEFAULT + }
@@ -190,11 +193,11 @@

Edit View: {{ view.name }}

+ Team Name (required) Edit View: {{ view.name }} -
- -
- @if (staged.length === 0) { -
- -
- } - @if (staged.length !== 0) { -
- - @for (playerFile of staged; track playerFile) { - - {{ playerFile.file.name }} -
- -
-
- } -
-
- - Select Teams - - @for (teamWrapper of teams; track teamWrapper) { + +
+ +
+ @if (staged.length !== 0) { + + + +
+ File{{ staged[0].file.name }} +
+
+
+
+
+
+ + Select All Teams + + + Teams with Access + + @for (teamWrapper of teams; track teamWrapper.team.id) { {{ teamWrapper.team.name }} } - - @if (uploading) { - - }
+ @if (teamsForFile.length === 0) { +
+ At least one team must be selected +
+ }
- } -
-
- @for (viewFile of viewFiles; track viewFile) { + @if (uploading) { + + } +
+ + +
+
+ + } + @for (viewFile of viewFiles; track viewFile.id) { Edit View: {{ view.name }}
-
- - Teams with Permission to View - +
+ - @for (teamWrapper of teams; track teamWrapper) { - {{ - teamWrapper.team.name - }} - } - - + Select All Teams + + + Teams with Access + + @for (teamWrapper of teams; track teamWrapper.team.id) { + {{ + teamWrapper.team.name + }} + } + + +
+ @if (viewFile.teamIds && viewFile.teamIds.length === 0) { +
+ At least one team must be selected +
+ }