<div *ngIf="ispisiTabelu; else poruka">
    <table>
        <tr>
            <th>Sifra</th>
            <th>Student</th>
            <th>Datum</th>
            <th>Ocena</th>
        </tr>
        <tr *ngFor="let i of ispitiZaStudenta" [class.crveno]="i.sifra==poslednjiIspit.sifra && i.student==poslednjiIspit.student">
            <td>{{i.sifra}}</td>
            <td>{{i.student}}</td>
            <td>{{i.datum}}</td>
            <td>{{i.ocena}}</td>
        </tr>
    </table>
</div>
<ng-template #poruka>
    Nema studenta sa tim indeksom, vratite se nazad i unesite ponovo
</ng-template>
<button (click)="nazad()">Nazad</button>