+ <div class="logged-in-username">@{{ user.username }}</div>
+ </div>
+
+ <div class="dropdown-toggle-indicator">
+ <span class="glyphicon glyphicon-chevron-down"></span>
+ </div>
+ </div>
+
+ <div ngbDropdownMenu>
+ <a *ngIf="user.account" ngbDropdownItem ngbDropdownToggle class="dropdown-item" [routerLink]="[ '/accounts', user.account.nameWithHost ]"
+ #profile (click)="onActiveLinkScrollToAnchor(profile)">
+ <my-global-icon iconName="go" aria-hidden="true"></my-global-icon> <ng-container i18n>Public profile</ng-container>
+ </a>
+
+ <div class="dropdown-divider"></div>
+
+ <a ngbDropdownItem ngbDropdownToggle class="dropdown-item" (click)="openLanguageChooser()">
+ <my-global-icon iconName="language" aria-hidden="true"></my-global-icon>
+ <span i18n>Interface:</span>
+ <span class="ml-auto text-muted">{{ currentInterfaceLanguage }}</span>
+ </a>
+
+ <a ngbDropdownItem ngbDropdownToggle class="dropdown-item" routerLink="/my-account/settings" fragment="video-languages-subtitles"
+ #settingsLanguagesSubtitles (click)="onActiveLinkScrollToAnchor(settingsLanguagesSubtitles)">
+ <my-global-icon iconName="video-lang" aria-hidden="true"></my-global-icon>
+ <span i18n>Videos:</span>
+ <span class="ml-auto text-muted">{{ videoLanguages.join(', ') }}</span>
+ </a>
+
+ <a ngbDropdownItem ngbDropdownToggle class="dropdown-item settings-sensitive" routerLink="/my-account/settings"
+ fragment="video-sensitive-content-policy" #settingsSensitiveContentPolicy
+ (click)="onActiveLinkScrollToAnchor(settingsSensitiveContentPolicy)">
+ <my-global-icon class="hover-display-toggle" [ngClass]="{ 'not-displayed': user.nsfwPolicy === 'display' }" iconName="sensitive" aria-hidden="true"></my-global-icon>
+ <my-global-icon class="hover-display-toggle" [ngClass]="{ 'not-displayed': user.nsfwPolicy !== 'display' }" iconName="unsensitive" aria-hidden="true"></my-global-icon>
+ <span i18n>Sensitive:</span>
+ <span class="ml-auto text-muted">{{ nsfwPolicy }}</span>
+ </a>