Merge branch 'master' of https://git.wmi.amu.edu.pl/s416178/Punktonerzy
This commit is contained in:
commit
85c01c2502
|
@ -5,7 +5,7 @@
|
|||
<div class="header">
|
||||
<button class="button" (click)="back()"><i class="fas fa-arrow-left"></i> Powrót</button>
|
||||
<span>
|
||||
<div *ngIf="currentUser">Twój maksymalny wynik: {{prevMaxResult}}/{{maxPoints}}</div>
|
||||
<div *ngIf="currentUser">Twój wynik: {{prevMaxResult}}/{{maxPoints}}</div>
|
||||
<button title="Usuń" *ngIf="currentUser && currentUser.username === test.owner && (!isStarted || isEnded)" class="btn btn-study-cave" (click)="openPopup()"><i class="fas fa-trash-alt"></i></button>
|
||||
<button title="Edytuj" *ngIf="currentUser && currentUser.username === test.owner" class="btn btn-study-cave" (click)="edit()"><i class="fas fa-edit"></i></button>
|
||||
<button title="PDF" class="btn btn-study-cave" (click)="get()"><i class="fas fa-file-pdf"></i></button>
|
||||
|
@ -22,7 +22,7 @@
|
|||
Poprzednia odpowiedź była niepoprawna.
|
||||
</div>
|
||||
|
||||
<div *ngIf="!isStarted && test['permission']==='GROUP' && !test['attempted']">
|
||||
<div *ngIf="!isStarted && (test['permission'] !== 'GROUP' || (test['permission'] === 'GROUP' && !test['attempted']))">
|
||||
<br /><br />
|
||||
<button class="button" (click)="start()"> <i class="far fa-play-circle"></i> Rozpocznij test</button>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue