Skip to content

Commit e04e24c

Browse files
UI - fixed small changes (#543)
* Removed duplicate author message and added `:` char into specific messages. * Show breadcumbs full text on hover * Fixed pinned sidebar translation
1 parent 8df8261 commit e04e24c

File tree

5 files changed

+10
-8
lines changed

5 files changed

+10
-8
lines changed

src/app/breadcrumbs/breadcrumbs.component.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</nav>
1111

1212
<ng-template #breadcrumb let-text="text" let-url="url">
13-
<li class="breadcrumb-item"><div class="breadcrumb-item-limiter"><a [routerLink]="url" class="text-truncate" [ngbTooltip]="text | translate" placement="bottom" >{{text | translate}}</a></div></li>
13+
<li class="breadcrumb-item"><div class="breadcrumb-item-limiter"><a [routerLink]="url" class="text-truncate" [ngbTooltip]="text | translate" placement="bottom" triggers="mouseenter:mouseleave">{{text | translate}}</a></div></li>
1414
</ng-template>
1515

1616
<ng-template #activeBreadcrumb let-text="text">

src/app/shared/clarin-item-author-preview/clarin-item-author-preview.component.html

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<div *ngIf="(itemAuthors | async).length">
2-
<div class="pt-1"><strong>{{'item.view.box.author.message' | translate}}</strong></div>
32
<div *ngIf="(itemAuthors | async).length <= 5" class="item-author-wrapper pb-1">
43
<span *ngFor="let author of (itemAuthors | async); let i = index">
54
<span *ngIf="i > 0 && i < (itemAuthors | async).length -1">; </span>

src/app/shared/clarin-item-box-view/clarin-item-box-view.component.html

+3
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
(error)="handleImageError($event)">
2121
</div>
2222
</div>
23+
<div class="row pt-1">
24+
<strong>{{'item.view.box.author.message' | translate}}</strong>
25+
</div>
2326
<div class="row">
2427
<ds-clarin-item-author-preview [item]="item" [fields]="AUTHOR_METADATA_FIELDS"></ds-clarin-item-author-preview>
2528
</div>

src/assets/i18n/cs.json5

+5-5
Original file line numberDiff line numberDiff line change
@@ -2684,9 +2684,9 @@
26842684
// "item.matomo-statistics.info.message": "Click on a data point to summarize by year / month.",
26852685
"item.matomo-statistics.info.message": "Kliknutím na datový bod provedete shrnutí podle roku/měsíce.",
26862686
// "item.view.box.author.message": "Author(s):",
2687-
"item.view.box.author.message": "Autoři",
2688-
// "item.view.box.publisher.message": "Publisher",
2689-
"item.view.box.publisher.message": "Vydavatel",
2687+
"item.view.box.author.message": "Autoři:",
2688+
// "item.view.box.publisher.message": "Publisher:",
2689+
"item.view.box.publisher.message": "Vydavatel:",
26902690
// "item.view.box.files.message": ["This item contains", "files"],
26912691
"item.view.box.files.message": ["Tento záznam obsahuje", "souborů"],
26922692
// "item.view.box.one.file.message": "This item contains 1 file",
@@ -3176,7 +3176,7 @@
31763176
// "menu.section.icon.new": "New menu section",
31773177
"menu.section.icon.new": "Nová menu sekce",
31783178
// "menu.section.icon.pin": "Pin sidebar",
3179-
"menu.section.icon.pin": "Postranní panel s kolíky",
3179+
"menu.section.icon.pin": "Připnout postranní panel",
31803180
// "menu.section.icon.processes": "Processes Health",
31813181
"menu.section.icon.processes": "Menu sekce Procesy",
31823182
// "menu.section.icon.registries": "Registries menu section",
@@ -3210,7 +3210,7 @@
32103210
// "menu.section.new_process": "Process",
32113211
"menu.section.new_process": "Proces",
32123212
// "menu.section.pin": "Pin sidebar",
3213-
"menu.section.pin": "Postranní panel s kolíky",
3213+
"menu.section.pin": "Připnout postranní panel",
32143214
// "menu.section.unpin": "Unpin sidebar",
32153215
"menu.section.unpin": "Zrušit připnutí postranního panelu",
32163216
// "menu.section.processes": "Processes",

src/assets/i18n/en.json5

+1-1
Original file line numberDiff line numberDiff line change
@@ -2792,7 +2792,7 @@
27922792

27932793
"item.view.box.author.message": "Author(s):",
27942794

2795-
"item.view.box.publisher.message": "Publisher",
2795+
"item.view.box.publisher.message": "Publisher:",
27962796

27972797
"item.view.box.files.message": ["This item contains", "files"],
27982798

0 commit comments

Comments
 (0)