diff options
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 | ||