Revize 69da7086
Přidáno uživatelem castic96 před asi 4 roky(ů)
fe/fulltextsearch/src/app/components/layout/main-nav/main-nav.component.html | ||
---|---|---|
8 | 8 |
<mat-nav-list (click)="drawer.close()"> |
9 | 9 |
<a mat-list-item routerLink=""> |
10 | 10 |
<mat-icon>home</mat-icon> |
11 |
Home</a>
|
|
11 |
{{'app-main-nav.home' | translate}}</a>
|
|
12 | 12 |
<a mat-list-item routerLink="search"> |
13 | 13 |
<mat-icon>search</mat-icon> |
14 |
Search</a>
|
|
14 |
{{'app-main-nav.search' | translate}}</a>
|
|
15 | 15 |
<a mat-list-item routerLink="browse"> |
16 | 16 |
<mat-icon>list</mat-icon> |
17 |
Browse</a>
|
|
17 |
{{'app-main-nav.browse' | translate}}</a>
|
|
18 | 18 |
<a mat-list-item routerLink="upload"> |
19 | 19 |
<mat-icon>backup</mat-icon> |
20 |
Upload</a>
|
|
20 |
{{'app-main-nav.upload' | translate}}</a>
|
|
21 | 21 |
<a mat-list-item (click)="openAboutDialog()"> |
22 | 22 |
<mat-icon>info</mat-icon> |
23 |
About</a>
|
|
23 |
{{'app-main-nav.about' | translate}}</a>
|
|
24 | 24 |
<a mat-list-item routerLink="help"> |
25 | 25 |
<mat-icon>help</mat-icon> |
26 |
Help</a>
|
|
26 |
{{'app-main-nav.help' | translate}}</a>
|
|
27 | 27 |
</mat-nav-list> |
28 | 28 |
</mat-sidenav> |
29 | 29 |
<mat-sidenav-content> |
... | ... | |
40 | 40 |
<div class="app-logo" routerLink="" style="outline: none"> |
41 | 41 |
<span style="display: flex;"> |
42 | 42 |
<mat-icon>search</mat-icon> |
43 |
<div>FULL TEXT SEARCH<br> APPLICATION</div>
|
|
43 |
<div>{{'app-main-nav.title1' | translate}}<br> {{'app-main-nav.title2' | translate}}</div>
|
|
44 | 44 |
</span> |
45 | 45 |
</div> |
46 | 46 |
<!-- left navigation items --> |
47 |
<a mat-button class="noHover active" routerLink="search" *ngIf="!(isHandset$ | async)">Search</a>
|
|
48 |
<a mat-button routerLink="browse" *ngIf="!(isHandset$ | async)">Browse</a>
|
|
49 |
<a mat-button routerLink="upload" *ngIf="!(isHandset$ | async)">Upload</a>
|
|
47 |
<a mat-button class="noHover active" routerLink="search" *ngIf="!(isHandset$ | async)">{{'app-main-nav.search' | translate}}</a>
|
|
48 |
<a mat-button routerLink="browse" *ngIf="!(isHandset$ | async)">{{'app-main-nav.browse' | translate}}</a>
|
|
49 |
<a mat-button routerLink="upload" *ngIf="!(isHandset$ | async)">{{'app-main-nav.upload' | translate}}</a>
|
|
50 | 50 |
<!-- navigation items space --> |
51 | 51 |
<div class="space"></div> |
52 | 52 |
<!-- right navigation items --> |
53 |
<a mat-button (click)="openAboutDialog()" *ngIf="!(isHandset$ | async)">About</a>
|
|
54 |
<a mat-button routerLink="help" *ngIf="!(isHandset$ | async)">Help</a>
|
|
55 |
<select (change)="onLanguageSelect($event)">
|
|
56 |
<option *ngFor="let language of languages">{{language}}</option>
|
|
53 |
<a mat-button (click)="openAboutDialog()" *ngIf="!(isHandset$ | async)">{{'app-main-nav.about' | translate}}</a>
|
|
54 |
<a mat-button routerLink="help" *ngIf="!(isHandset$ | async)">{{'app-main-nav.help' | translate}}</a>
|
|
55 |
<select #langSelect (change)="onLanguageSelect($event, langSelect)">
|
|
56 |
<option *ngFor="let lang of translate.getLangs()" [value]="lang" [selected]="lang === translate.currentLang">{{lang | uppercase}}</option>
|
|
57 | 57 |
</select> |
58 | 58 |
</mat-toolbar> |
59 | 59 |
<ng-content></ng-content> |
Také k dispozici: Unified diff
Re #7905: Lokalizace FE
- vytvořeny překlady cz a en
- překlady definovány v JSON souborech