]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/shared/shared-main/buttons/button.component.html
Replace all glyphicon icons
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-main / buttons / button.component.html
CommitLineData
db66f391
C
1<span *ngIf="!routerLink" class="action-button" [ngClass]="getClasses()" [ngbTooltip]="title" tabindex="0">
2 <ng-container *ngTemplateOutlet="content"></ng-container>
3</span>
4
5<a *ngIf="routerLink" class="action-button" [ngClass]="getClasses()" [ngbTooltip]="title" [routerLink]="routerLink">
6 <ng-container *ngTemplateOutlet="content"></ng-container>
7</a>
8
9<ng-template #content>
a14c1764 10 <my-loader size="sm" [loading]="loading"></my-loader>
db129781 11 <my-global-icon *ngIf="icon && !loading" [iconName]="icon"></my-global-icon>
b5f919ac 12
30814423 13 <span *ngIf="label" class="button-label">{{ label }}</span>
6c808af9
RK
14
15 <ng-content></ng-content>
db66f391 16</ng-template>