Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,19 @@ <h4 class="header-text ms-2">Edit View: {{ view.name }}</h4>
</mat-form-field>
</div>
</div>

<div class="add-margin">
<div>
<mat-checkbox
color="primary"
[(ngModel)]="view.isTemplate"
(change)="saveViewStatus()"
matTooltip="If this View should be considered a template to be used for creating other Views"
>
Template
</mat-checkbox>
</div>
</div>
</div>

<div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ export class TeamPermissionService {

/**
* Gets Team Permissions for the current User.
* Returns all TeamPermissions for the current user or those of a specified Team or View. If a Team is specified, can optionally include TeamPermissions for all Teams in the same View that the User is a member of.
* Returns all TeamPermissions for the current user or those of a specified Team or View. If a Team is specified, can optionally include TeamPermissions for all Teams in the same View that the User is a member of.
* @param viewId
* @param teamId
* @param includeAllViewTeams
Expand Down
1 change: 1 addition & 0 deletions src/app/generated/player-api/model/createRoleCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ Copyright 2021 Carnegie Mellon University. All Rights Reserved.

export interface CreateRoleCommand {
name?: string | null;
allPermissions?: boolean;
}

1 change: 1 addition & 0 deletions src/app/generated/player-api/model/editViewCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ export interface EditViewCommand {
name?: string | null;
description?: string | null;
status?: ViewStatus;
isTemplate?: boolean;
}

1 change: 1 addition & 0 deletions src/app/generated/player-api/model/view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@ export interface View {
description?: string | null;
status?: ViewStatus;
parentViewId?: string | null;
isTemplate?: boolean;
}