diff options
author | Chocobozzz <me@florianbigard.com> | 2020-11-27 15:31:09 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-11-27 15:46:49 +0100 |
commit | 68f6c87a27bd3616644368154914a683001f8aa6 (patch) | |
tree | d1db9fb50f9973b697c43c5c06935a5c5a9ff819 /client/src/app/menu/menu.component.html | |
parent | acfa2e300defbf79994f49b2062ec6bece5ad1a9 (diff) | |
download | PeerTube-68f6c87a27bd3616644368154914a683001f8aa6.tar.gz PeerTube-68f6c87a27bd3616644368154914a683001f8aa6.tar.zst PeerTube-68f6c87a27bd3616644368154914a683001f8aa6.zip |
Various front optimizations
Diffstat (limited to 'client/src/app/menu/menu.component.html')
-rw-r--r-- | client/src/app/menu/menu.component.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/menu/menu.component.html b/client/src/app/menu/menu.component.html index 810466a72..bba5fdadf 100644 --- a/client/src/app/menu/menu.component.html +++ b/client/src/app/menu/menu.component.html | |||
@@ -12,7 +12,7 @@ | |||
12 | <div class="logged-in-username">@{{ user.username }}</div> | 12 | <div class="logged-in-username">@{{ user.username }}</div> |
13 | </div> | 13 | </div> |
14 | 14 | ||
15 | <div class="logged-in-more" ngbDropdown [placement]="placement" container="body" autoClose="outside"> | 15 | <div class="logged-in-more" ngbDropdown [placement]="loggedInMorePlacement" container="body" autoClose="outside"> |
16 | <my-global-icon iconName="more-vertical" ngbDropdownToggle role="button"></my-global-icon> | 16 | <my-global-icon iconName="more-vertical" ngbDropdownToggle role="button"></my-global-icon> |
17 | 17 | ||
18 | <div ngbDropdownMenu> | 18 | <div ngbDropdownMenu> |
@@ -32,7 +32,7 @@ | |||
32 | <a ngbDropdownItem ngbDropdownToggle class="dropdown-item" (click)="openLanguageChooser()"> | 32 | <a ngbDropdownItem ngbDropdownToggle class="dropdown-item" (click)="openLanguageChooser()"> |
33 | <my-global-icon iconName="language" aria-hidden="true"></my-global-icon> | 33 | <my-global-icon iconName="language" aria-hidden="true"></my-global-icon> |
34 | <span i18n>Interface:</span> | 34 | <span i18n>Interface:</span> |
35 | <span class="ml-auto text-muted">{{ language }}</span> | 35 | <span class="ml-auto text-muted">{{ currentInterfaceLanguage }}</span> |
36 | </a> | 36 | </a> |
37 | 37 | ||
38 | <a ngbDropdownItem ngbDropdownToggle class="dropdown-item" routerLink="/my-account/settings" fragment="video-languages-subtitles" | 38 | <a ngbDropdownItem ngbDropdownToggle class="dropdown-item" routerLink="/my-account/settings" fragment="video-languages-subtitles" |
@@ -168,7 +168,7 @@ | |||
168 | 168 | ||
169 | <div class="footer-links"> | 169 | <div class="footer-links"> |
170 | <div *ngIf="isLoggedIn === false"> | 170 | <div *ngIf="isLoggedIn === false"> |
171 | <span role="button" (click)="openLanguageChooser()" class="c-hand" i18n>Interface: {{ language }}</span> | 171 | <span role="button" (click)="openLanguageChooser()" class="c-hand" i18n>Interface: {{ currentInterfaceLanguage }}</span> |
172 | </div> | 172 | </div> |
173 | 173 | ||
174 | <div> | 174 | <div> |