Skip to content

Commit

Permalink
Fix display of exhibits in the UI.
Browse files Browse the repository at this point in the history
  • Loading branch information
lfarrell committed Feb 2, 2024
1 parent 99163d6 commit 55c5c9c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,9 @@
<abstract v-if="recordData.briefObject.abstractText" :brief-object="recordData.briefObject"/>
<li v-if="fieldExists(recordData.exhibits)">
<span class="has-text-weight-bold">{{ $t('full_record.related_digital_exhibits') }}: </span>
<template v-for="(exhibit, index) in recordData.exhibits">
<a :href="exhibit.value">{{ exhibit.key }}</a><template v-if="index < recordData.exhibits.length - 1">;</template>
<template v-for="(exhibit_link, title, index) in recordData.exhibits">
<a :href="exhibit_link">{{ title }}</a>
<template v-if="index < recordData.exhibits.length - 1">;</template>
</template>
</li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@
<abstract v-if="recordData.briefObject.abstractText" :brief-object="recordData.briefObject"/>
<p v-if="fieldExists(recordData.exhibits)">
<strong>{{ $t('full_record.related_digital_exhibits') }}: </strong>
<template v-for="(exhibit, index) in recordData.exhibits">
<a :href="exhibit.value">{{ exhibit.key }}</a><template v-if="index < recordData.exhibits.length - 1">;</template>
<template v-for="(exhibit_link, title, index) in recordData.exhibits">
<a :href="exhibit_link">{{ title }}</a>
<template v-if="index < recordData.exhibits.length - 1">;</template>
</template>
</p>
<p><a @click.prevent="displayMetadata()" href="#">{{ $t('full_record.additional_metadata') }}</a></p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,9 @@
<abstract v-if="recordData.briefObject.abstractText" :brief-object="recordData.briefObject"/>
<li v-if="fieldExists(recordData.exhibits)">
<span class="has-text-weight-bold">{{ $t('full_record.related_digital_exhibits') }}: </span>
<template v-for="(exhibit, index) in recordData.exhibits">
<a :href="exhibit.value">{{ exhibit.key }}</a><template v-if="index < recordData.exhibits.length - 1">;</template>
<template v-for="(exhibit_link, title, index) in recordData.exhibits">
<a :href="exhibit_link">{{ title }}</a>
<template v-if="index < recordData.exhibits.length - 1">;</template>
</template>
</li>
<li>
Expand Down

0 comments on commit 55c5c9c

Please sign in to comment.