Skip to content

Commit 6af7853

Browse files
DSC-1489 update mapped icon and labels
1 parent 2d1186c commit 6af7853

8 files changed

Lines changed: 24 additions & 10 deletions

File tree

src/app/shared/form/builder/ds-dynamic-form-ui/models/onebox/dynamic-onebox.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<ul class="list-unstyled mb-0">
1010
<li class="list-item d-flex align-items-center">
1111
<div *ngIf="entry.source" class="mr-2">
12-
<img onerror="handleImgError(this)" [src]="'assets/images/source-' + entry.source + '.png'" [attr.alt]="('form.entry.source.' + entry.source) | translate" />
12+
<img onerror="handleImgError(this)" [src]="'assets/images/' + entry.source + '.logo.icon.svg'" [attr.alt]="('form.entry.source.' + entry.source) | translate" />
1313
</div>
1414
<div class="text-truncate text-primary font-weight-bold">{{entry.value}}</div>
1515
<div *ngIf="entry.source" class="ml-2 text-truncate text-secondary">{{ ('form.entry.source.' + entry.source) | translate}}</div>
@@ -26,7 +26,7 @@
2626
<ul class="list-unstyled mb-0">
2727
<li class="list-item d-flex align-items-center">
2828
<div *ngIf="entry.source" class="mr-2">
29-
<img onerror="handleImgError(this)" [src]="'assets/images/source-' + entry.source + '.png'" [attr.alt]="('form.entry.source.' + entry.source) | translate" />
29+
<img onerror="handleImgError(this)" [src]="'assets/images/' + entry.source + '.logo.icon.svg'" [attr.alt]="('form.entry.source.' + entry.source) | translate" />
3030
</div>
3131
<div class="text-truncate text-primary font-weight-bold">{{entry.value}}</div>
3232
<div *ngIf="entry.source" class="ml-2 text-truncate text-secondary">{{ ('form.entry.source.' + entry.source) | translate}}</div>

src/assets/i18n/en.json5

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2471,19 +2471,17 @@
24712471

24722472
"form.other-information.ror_orgunit_acronym": "ROR acronym",
24732473

2474-
"form.entry.source": "Source",
2474+
"form.entry.source.local": "",
24752475

2476-
"form.entry.source.local": "- Local",
2476+
"form.entry.source.orcid": "",
24772477

2478-
"form.entry.source.orcid": "- Orcid",
2478+
"form.entry.source.ror": "",
24792479

2480-
"form.entry.source.ror": "- ROR",
2480+
"form.entry.source.openaire": "",
24812481

2482-
"form.entry.source.openaire": "- OpenAIRE",
2482+
"form.entry.source.zdb": "",
24832483

2484-
"form.entry.source.zdb": "- ZDB",
2485-
2486-
"form.entry.source.sherpa": "- Sherpa",
2484+
"form.entry.source.sherpa": "",
24872485

24882486
"form.remove": "Remove",
24892487

Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 13 additions & 0 deletions
Loading

src/assets/images/source-local.png

-4.36 KB
Binary file not shown.

src/assets/images/source-orcid.png

-1.04 KB
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)