diff options
author | Chocobozzz <me@florianbigard.com> | 2018-08-09 14:55:06 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-08-09 14:55:06 +0200 |
commit | 63347a0ff966c7863e5b7431effa1cb0668df893 (patch) | |
tree | 8f89d9b4a73f7157103574c05832eff21e338272 /client/src/app/menu/menu.component.html | |
parent | b34a444e291c8ec90b4c2c965f7d0d6904d1faa7 (diff) | |
download | PeerTube-63347a0ff966c7863e5b7431effa1cb0668df893.tar.gz PeerTube-63347a0ff966c7863e5b7431effa1cb0668df893.tar.zst PeerTube-63347a0ff966c7863e5b7431effa1cb0668df893.zip |
Migrate to bootstrap 4 and ng-bootstrap
Diffstat (limited to 'client/src/app/menu/menu.component.html')
-rw-r--r-- | client/src/app/menu/menu.component.html | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/client/src/app/menu/menu.component.html b/client/src/app/menu/menu.component.html index c487a6fc1..9657e5269 100644 --- a/client/src/app/menu/menu.component.html +++ b/client/src/app/menu/menu.component.html | |||
@@ -11,24 +11,22 @@ | |||
11 | <div class="logged-in-email">{{ user.username }}</div> | 11 | <div class="logged-in-email">{{ user.username }}</div> |
12 | </div> | 12 | </div> |
13 | 13 | ||
14 | <div class="logged-in-more" dropdown placement="right" container="body"> | 14 | <div class="logged-in-more" ngbDropdown placement="bottom-right"> |
15 | <span class="glyphicon glyphicon-option-vertical" dropdownToggle></span> | 15 | <span class="glyphicon glyphicon-option-vertical" ngbDropdownToggle role="button"></span> |
16 | 16 | ||
17 | <ul *dropdownMenu class="dropdown-menu"> | 17 | <div ngbDropdownMenu> |
18 | <li> | 18 | <a *ngIf="user.account" i18n [routerLink]="[ '/accounts', user.account.nameWithHost ]" class="dropdown-item"> |
19 | <a i18n [routerLink]="[ '/accounts', user.account?.nameWithHost ]" class="dropdown-item" title="My public profile"> | 19 | My public profile |
20 | My public profile | 20 | </a> |
21 | </a> | ||
22 | 21 | ||
23 | <a i18n routerLink="/my-account" class="dropdown-item" title="My account"> | 22 | <a i18n routerLink="/my-account" class="dropdown-item"> |
24 | My account | 23 | My account |
25 | </a> | 24 | </a> |
26 | 25 | ||
27 | <a i18n (click)="logout($event)" class="dropdown-item" title="Log out" href="#"> | 26 | <a i18n (click)="logout($event)" class="dropdown-item" href="#"> |
28 | Log out | 27 | Log out |
29 | </a> | 28 | </a> |
30 | </li> | 29 | </div> |
31 | </ul> | ||
32 | </div> | 30 | </div> |
33 | </div> | 31 | </div> |
34 | 32 | ||