2019-02-15 12:17:08 +01:00
|
|
|
<ng-container *osPerms="'core.can_manage_projector'">
|
|
|
|
<button type="button" *ngIf="!text && !menuItem" mat-mini-fab (click)="onClick($event)"
|
|
|
|
[ngClass]="isProjected() ? 'projector-active' : 'projector-inactive'">
|
|
|
|
<mat-icon>videocam</mat-icon>
|
|
|
|
</button>
|
2019-03-01 11:24:15 +01:00
|
|
|
<button type="button" *ngIf="text && !menuItem" mat-button (click)="onClick($event)"
|
2019-02-15 12:17:08 +01:00
|
|
|
[ngClass]="isProjected() ? 'projector-active' : 'projector-inactive'">
|
|
|
|
<mat-icon>videocam</mat-icon>
|
2019-03-01 11:24:15 +01:00
|
|
|
{{ text | translate }}
|
2019-02-15 12:17:08 +01:00
|
|
|
</button>
|
2019-03-01 11:24:15 +01:00
|
|
|
<button type="button" *ngIf="menuItem" mat-menu-item (click)="onClick()"
|
2019-02-15 12:17:08 +01:00
|
|
|
[ngClass]="isProjected() ? 'projector-active' : 'projector-inactive'">
|
|
|
|
<mat-icon>videocam</mat-icon>
|
2019-03-01 11:24:15 +01:00
|
|
|
{{ (text || 'Project') | translate }}
|
2019-02-15 12:17:08 +01:00
|
|
|
</button>
|
|
|
|
</ng-container>
|