Skip to content

Commit

Permalink
courses: smoother exam preview header (fixes #7949) (#7951)
Browse files Browse the repository at this point in the history
Co-authored-by: dogi <[email protected]>
  • Loading branch information
jessewashburn and dogi authored Dec 18, 2024
1 parent bab2894 commit d0784fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "planet",
"license": "AGPL-3.0",
"version": "0.16.11",
"version": "0.16.12",
"myplanet": {
"latest": "v0.21.43",
"min": "v0.20.43"
Expand Down
2 changes: 1 addition & 1 deletion src/app/exams/exams-view.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<span class="ellipsis-title">{{title ? title + ': ' : ''}}</span>
<span>
<ng-container i18n>Question</ng-container>{{' ' + questionNum + ' '}}<ng-container i18n>of</ng-container>{{' ' + maxQuestions }}
<span i18n *ngIf="mode === 'grade' || mode === 'view'"> By{{' ' + submittedBy}}</span><span i18n *ngIf="!submittedBy">Unknown</span><span i18n> on {{(updatedOn | date: 'short') || '--'}}</span>
<span i18n *ngIf="mode === 'grade' || mode === 'view'"> by{{' ' + submittedBy}}</span><span i18n *ngIf="!submittedBy">(Preview)</span><span *ngIf="updatedOn" i18n> on {{updatedOn | date: 'short'}}</span>
</span>
<span class="toolbar-fill"></span>
<button mat-icon-button [disabled]="questionNum === 1" (click)="moveQuestion(-1)" [planetSubmit]="spinnerOn"><mat-icon>navigate_before</mat-icon></button>
Expand Down

0 comments on commit d0784fd

Please sign in to comment.