reorder menus

This commit is contained in:
_Bastler 2022-04-13 21:07:13 +02:00
parent 5ded8ea0aa
commit 6498300640

View File

@ -32,6 +32,10 @@
{{'darkTheme' | i18n}} {{'darkTheme' | i18n}}
</mat-slide-toggle> </mat-slide-toggle>
</a> </a>
<mat-divider *ngIf="authenticated"></mat-divider>
<a *ngIf="authenticated" routerLink="/settings" routerLinkActive="active" mat-menu-item>
<mat-icon>tune</mat-icon> {{'settings' | i18n}}
</a>
<mat-divider *ngIf="authenticated"></mat-divider> <mat-divider *ngIf="authenticated"></mat-divider>
<a *ngIf="authenticated" (click)="logout()" mat-menu-item> <a *ngIf="authenticated" (click)="logout()" mat-menu-item>
<mat-icon>exit_to_app</mat-icon> {{'logout' | i18n}} <mat-icon>exit_to_app</mat-icon> {{'logout' | i18n}}
@ -53,16 +57,13 @@
<mat-icon>feedback</mat-icon> {{'moderation.comments' | i18n}} <mat-icon>feedback</mat-icon> {{'moderation.comments' | i18n}}
</a> </a>
<mat-divider *ngIf="authenticated"></mat-divider> <mat-divider *ngIf="authenticated"></mat-divider>
<a (click)="openExternal('https://wiki.bstly.de/services/bstlboard#faq','_blank')" routerLinkActive="active"
mat-list-item>
<mat-icon>help</mat-icon> {{'page.faq' | i18n}}
</a>
<mat-divider *ngIf="authenticated"></mat-divider>
<a *ngIf="authenticated" routerLink="/bookmarks" routerLinkActive="active" mat-list-item> <a *ngIf="authenticated" routerLink="/bookmarks" routerLinkActive="active" mat-list-item>
<mat-icon>bookmarks</mat-icon> {{'bookmarks' | i18n}} <mat-icon>bookmarks</mat-icon> {{'bookmarks' | i18n}}
</a> </a>
<a *ngIf="authenticated" routerLink="/settings" routerLinkActive="active" mat-list-item> <mat-divider *ngIf="authenticated"></mat-divider>
<mat-icon>tune</mat-icon> {{'settings' | i18n}} <a (click)="openExternal('https://wiki.bstly.de/services/bstlboard#faq','_blank')" routerLinkActive="active"
mat-list-item>
<mat-icon>help</mat-icon> {{'page.faq' | i18n}}
</a> </a>
</mat-nav-list> </mat-nav-list>
<span class="spacer"></span> <span class="spacer"></span>