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-02-21 15:06:14 +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>
|
|
|
|
<span translate>Project</span>
|
|
|
|
</button>
|
|
|
|
<button type="button" *ngIf="text && !menuItem" mat-button (click)="onClick($event)"
|
|
|
|
[ngClass]="isProjected() ? 'projector-active' : 'projector-inactive'">
|
|
|
|
<mat-icon>videocam</mat-icon>
|
|
|
|
{{ text | translate }}
|
|
|
|
</button>
|
|
|
|
</ng-container>
|