-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feedback Report responses dialog now clarifies when feedback hasn't b…
…een finalized
- Loading branch information
1 parent
42feef1
commit bc5ae34
Showing
3 changed files
with
10 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 7 additions & 2 deletions
9
...ack-report/player-feedback-responses-modal/player-feedback-responses-modal.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,17 @@ | ||
<app-modal-content *ngIf="record" title="Feedback" [subtitle]="record.user.name" [hideCancel]="true"> | ||
<alert *ngIf="!record.whenFinalized" type="warning" class="my-4"> | ||
This player hasn't finalized their submission yet - it may change if they submit it later. | ||
</alert> | ||
<ol> | ||
<li *ngFor="let response of record.responses; index as i" class="my-4"> | ||
<strong>{{ i + 1 }}. {{ response.prompt }}</strong> | ||
<div class="my-2" *ngIf="response.answer">{{ response.answer }}</div> | ||
<div class="my-2" *ngIf="response.answer; else noResponse">{{ response.answer }}</div> | ||
</li> | ||
</ol> | ||
</app-modal-content> | ||
|
||
<ng-template #noResponse> | ||
<em>(no response)</em> | ||
<div> | ||
<em>(no response)</em> | ||
</div> | ||
</ng-template> |