Skip to content

Commit

Permalink
ConcordanceDetail: Add publisher (#724)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefandesu committed Nov 28, 2023
1 parent 46182ad commit cf7d004
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/locale.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"noRegistries": "The configuration contains no providers. Please consult the <a href='https://gbv.github.io/cocoda/#configuration' target='_blank'>documentation</a> how to configure providers!",
"catalog": "catalog",
"license": "License",
"publisher": "Publisher",
"storedMappings": "Mappings",
"recommendedMappings": "Suggestions"
},
Expand Down Expand Up @@ -437,6 +438,7 @@
"noRegistries": "Es sind keine Datenquellen konfiguriert! Bitte entnehmen sie der <a href='https://gbv.github.io/cocoda/#configuration' target='_blank'>Dokumentation</a> wie Datenquellen konfiguriert werden können!",
"catalog": "Katalog",
"license": "Lizenz",
"publisher": "Herausgeber*in",
"storedMappings": "Mappings",
"recommendedMappings": "Vorschläge"
},
Expand Down
14 changes: 14 additions & 0 deletions src/components/ConcordanceDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,20 @@
</p>
</b-col>
</b-row>
<b-row v-if="concordance.publisher?.length">
<b-col cols="3">
{{ $t("general.publisher") }}:
</b-col>
<b-col>
<p
v-for="(publisher, index) in concordance.publisher"
:key="`concordanceDetail-publisher-${index}`">
<auto-link
:link="publisher.url || publisher.uri"
:text="$jskos.prefLabel(publisher)" />
</p>
</b-col>
</b-row>
<!-- Creator -->
<b-row>
<b-col cols="3">
Expand Down

0 comments on commit cf7d004

Please sign in to comment.