Skip to content

Commit

Permalink
disabled redirection from test-report to individual report
Browse files Browse the repository at this point in the history
  • Loading branch information
asif-khan17 authored and shreel2015 committed Sep 27, 2017
1 parent 75ca5d6 commit 231b92b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ <h2>Test Report</h2>
<tr *ngFor="let testAttendee of report.data;let i = index">
<td><md-checkbox class="only-checkbox" [(ngModel)]="testAttendee.checkedCandidate" (change)="selectIndividualCandidate(testAttendee,testAttendee.checkedCandidate)" [disabled]="testAttendee.generatingReport"></md-checkbox></td>
<td><em class="material-icons" [ngClass]="{starred : testAttendee.starredCandidate}" (click)="setStarredCandidate(testAttendee)">{{isStarredCandidate(testAttendee)}}</em></td>
<td><a class="theme-text font-semibold" [routerLink]="['individual-report/',testAttendee.id]" [class.disabled]="testAttendee.reporNotFoundYet">{{testAttendee.firstName}} {{testAttendee.lastName}}</a></td>
<td><a class="theme-text font-semibold" [routerLink]="['individual-report/',testAttendee.id]" [class.stop-redirection]="testAttendee.reporNotFoundYet">{{testAttendee.firstName}} {{testAttendee.lastName}}</a></td>
<td>{{testAttendee.email}}</td>
<td id="date">{{testAttendee.createdDateTime |date:'fullDate'}}</td>
<td><progress *ngIf="testAttendee.generatingReport"></progress> {{testAttendee.report.totalMarksScored}}</td>
Expand Down
5 changes: 5 additions & 0 deletions Trappist/src/Promact.Trappist.Web/wwwroot/css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2344,6 +2344,11 @@ footer {
padding: 10px 20px;
border-bottom: 1px solid $color_border;

.stop-redirection {
cursor: default;
pointer-events: none;
}

&.actions {
min-width: 110px;
}
Expand Down

0 comments on commit 231b92b

Please sign in to comment.