- small changes in dataset-detail.component.vue

This commit is contained in:
Arno Kaimbacher 2023-07-06 17:22:23 +02:00
parent 6f5881e627
commit 9ea5c15844

View File

@ -65,10 +65,9 @@
<div v-for="reference in dataset.references" v-bind:key="reference.id" class="columns"> <div v-for="reference in dataset.references" v-bind:key="reference.id" class="columns">
<div class="column is-3-desktop is-4-tablet label">{{ reference.relation }}</div> <div class="column is-3-desktop is-4-tablet label">{{ reference.relation }}</div>
<div class="column is-9-desktop is-8-tablet"> <div class="column is-9-desktop is-8-tablet">
<!-- {{ "https://doi.org/" + reference.value }} -->
{{ reference.type }}: {{ reference.type }}:
<a v-if="reference.type === 'DOI'" target="_blank" class="link-label" v-bind:href="'https://doi.org/' + reference.value"> <a v-if="reference.type === 'DOI'" target="_blank" class="link-label" v-bind:href="reference.value">
{{ "https://doi.org/" + reference.value }} {{ reference.value }}
</a> </a>
</div> </div>
</div> </div>