Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Commit

Permalink
disabled buttons and changed the no files message accordingly.
Browse files Browse the repository at this point in the history
  • Loading branch information
HPunktOchs committed May 29, 2018
1 parent b699249 commit 5928b14
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<div class="spacer">
<div class="selectArea">
<button mat-raised-button color="secondary" (click)="listview()" mat-tooltip="List View" class="btn"
<button mat-raised-button color="secondary" [disabled]="!checkForFileUnits()" (click)="listview()" mat-tooltip="List View" class="btn"
[class.activeBtn]="displayGrid==false">
<i class="material-icons iconSize">view_list</i> List
</button>
<button mat-raised-button color="secondary" (click)="gridview()"
<button mat-raised-button color="secondary" [disabled]="!checkForFileUnits()" (click)="gridview()"
mat-tooltip="Grid View" class="btn" [class.activeBtn]="displayGrid==true">
<i class="material-icons iconSize">view_module</i> Grid
</button>
Expand Down Expand Up @@ -45,5 +45,5 @@
</div>
</div>
<div *ngIf="!checkForFileUnits()">
<h2>There are no Files Attached to this course yet!</h2>
<h2>There are no Videos Attached to this course yet!</h2>
</div>

0 comments on commit 5928b14

Please sign in to comment.