diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-08-21 11:27:24 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-08-21 11:27:24 +0200 |
commit | beacf6993c93f93bf5ea86665827154eb291d1fd (patch) | |
tree | 5aa8b69bbf4891c8d34798b052236f0ebfb94963 /client/src/app/app.component.html | |
parent | 9aa46b0c7bade696a477626ad7590ffdd281e03c (diff) | |
download | PeerTube-beacf6993c93f93bf5ea86665827154eb291d1fd.tar.gz PeerTube-beacf6993c93f93bf5ea86665827154eb291d1fd.tar.zst PeerTube-beacf6993c93f93bf5ea86665827154eb291d1fd.zip |
Client: simplify simple menu/admin menu displaying logic
Diffstat (limited to 'client/src/app/app.component.html')
-rw-r--r-- | client/src/app/app.component.html | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/client/src/app/app.component.html b/client/src/app/app.component.html index a7538ee7a..ead491968 100644 --- a/client/src/app/app.component.html +++ b/client/src/app/app.component.html | |||
@@ -14,14 +14,11 @@ | |||
14 | 14 | ||
15 | 15 | ||
16 | <div class="row"> | 16 | <div class="row"> |
17 | <my-menu *ngIf="isInAdmin === false" (enteredInAdmin)="onEnteredInAdmin()"></my-menu> | 17 | <my-menu *ngIf="isInAdmin() === false"></my-menu> |
18 | <my-menu-admin *ngIf="isInAdmin === true" (quittedAdmin)="onQuittedAdmin()"></my-menu-admin> | 18 | <my-menu-admin *ngIf="isInAdmin() === true"></my-menu-admin> |
19 | 19 | ||
20 | <div class="col-md-9 col-sm-8 col-xs-8 router-outlet-container"> | 20 | <div class="col-md-9 col-sm-8 col-xs-8 router-outlet-container"> |
21 | <router-outlet></router-outlet> | 21 | <router-outlet></router-outlet> |
22 | </div> | ||
23 | </div> | ||
24 | |||
25 | 22 | ||
26 | <footer> | 23 | <footer> |
27 | PeerTube, CopyLeft 2015-2016 | 24 | PeerTube, CopyLeft 2015-2016 |