Skip to content

Commit

Permalink
all: smoother navigation icons (fixes #8167)(fixes #8168) (#8169)
Browse files Browse the repository at this point in the history
Co-authored-by: dogi <dogi@users.noreply.github.com>
  • Loading branch information
jessewashburn and dogi authored Jan 31, 2025
1 parent 37d443f commit 05a545f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "planet",
"license": "AGPL-3.0",
"version": "0.16.89",
"version": "0.16.90",
"myplanet": {
"latest": "v0.22.63",
"min": "v0.21.63"
Expand Down
9 changes: 3 additions & 6 deletions src/app/home/home.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ <h1><ng-container>Planet</ng-container> {{planetName}}</h1>
<span *ngIf="layout === 'classic' && !forceModern">
<button mat-icon-button routerLink="/chat" i18n-title title="Chat"><mat-icon>question_answer</mat-icon></button>
<button mat-icon-button planetFeedback i18n-title title="Submit Feedback"><mat-icon>feedback_outline</mat-icon></button>
<button mat-icon-button routerLink="/feedback" i18n-title title="Review Feedback"><mat-icon>mail_outline</mat-icon></button>
<button mat-icon-button routerLink="/feedback" i18n-title title="Review Feedback"><mat-icon>mail</mat-icon></button>
<ng-container *planetAuthorizedRoles>
<button mat-icon-button planetSync i18n-title title="Sync" *ngIf="onlineStatus === 'accepted'"><mat-icon svgIcon="feedback"></mat-icon></button>
</ng-container>
Expand Down Expand Up @@ -211,12 +211,9 @@ <h1><ng-container>Planet</ng-container> {{planetName}}</h1>
</a>
</li>
</ng-container>
<li style="text-align: center;">
<planet-language [iconOnly]="layout === 'modern' || forceModern"></planet-language>
<li>
<a mat-button (click)="openLanguageDialog()" i18n-title title="Change Language">
<mat-icon>translate</mat-icon>
<label *ngIf="sidenavState === 'open'" i18n>Language</label>
</a>
</li>
<ng-container *planetAuthorizedRoles>
<li *ngIf="onlineStatus === 'accepted'">
<a mat-button planetSync i18n-title title="Sync">
Expand Down
2 changes: 1 addition & 1 deletion src/app/shared/planet-language.component.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<button mat-button [matMenuTriggerFor]="languageMenu">
<mat-icon>language</mat-icon>
<mat-icon>translate</mat-icon>
<span *ngIf="!iconOnly">{{this.currentLanguage.name}}</span>
</button>

Expand Down

0 comments on commit 05a545f

Please sign in to comment.