diff options
author | Chocobozzz <me@florianbigard.com> | 2020-05-28 11:15:38 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-05-29 09:32:12 +0200 |
commit | 72c33e716fecd1826dcf645957f8669821f91ff3 (patch) | |
tree | 31d270c2afc2f07303fa491189d6b6b1c0ea8bb1 /client/src/app/app.component.html | |
parent | 8adf0a767f0816465ac3a8f4a6c63f53dd05fe3d (diff) | |
download | PeerTube-72c33e716fecd1826dcf645957f8669821f91ff3.tar.gz PeerTube-72c33e716fecd1826dcf645957f8669821f91ff3.tar.zst PeerTube-72c33e716fecd1826dcf645957f8669821f91ff3.zip |
Support broadcast messages
Diffstat (limited to 'client/src/app/app.component.html')
-rw-r--r-- | client/src/app/app.component.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/client/src/app/app.component.html b/client/src/app/app.component.html index b0d2e5050..b243c129b 100644 --- a/client/src/app/app.component.html +++ b/client/src/app/app.component.html | |||
@@ -25,6 +25,16 @@ | |||
25 | <div id="content" tabindex="-1" class="main-col" [ngClass]="{ expanded: menu.isMenuDisplayed === false }"> | 25 | <div id="content" tabindex="-1" class="main-col" [ngClass]="{ expanded: menu.isMenuDisplayed === false }"> |
26 | 26 | ||
27 | <div class="main-row"> | 27 | <div class="main-row"> |
28 | |||
29 | <div *ngIf="broadcastMessage" class="broadcast-message alert" [ngClass]="broadcastMessage.class"> | ||
30 | <div [innerHTML]="broadcastMessage.message"></div> | ||
31 | |||
32 | <my-global-icon | ||
33 | *ngIf="broadcastMessage.dismissable" (click)="hideBroadcastMessage()" | ||
34 | iconName="cross" role="button" title="Close this message" i18n-title | ||
35 | ></my-global-icon> | ||
36 | </div> | ||
37 | |||
28 | <router-outlet></router-outlet> | 38 | <router-outlet></router-outlet> |
29 | </div> | 39 | </div> |
30 | </div> | 40 | </div> |