Fixes wrong link to item on Records View Mode.
This commit is contained in:
parent
c09e69df09
commit
fe4753a265
|
@ -44,13 +44,13 @@
|
||||||
padding: 40px 0em 0.4em 0em !important;
|
padding: 40px 0em 0.4em 0em !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Bulma modals customized for Tainacan
|
// Bulma modals customized for Tainacan (custom-dialog.vue)
|
||||||
.dialog {
|
.dialog {
|
||||||
.modal-background {
|
.modal-background {
|
||||||
background-color: rgba(0, 0, 0, 0.70);
|
background-color: rgba(0, 0, 0, 0.70);
|
||||||
}
|
}
|
||||||
.modal-card {
|
.modal-card {
|
||||||
background-color: $turquoise2;
|
background-color: white;
|
||||||
color: $secondary;
|
color: $secondary;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
@ -59,13 +59,13 @@
|
||||||
margin: 0 auto !important;
|
margin: 0 auto !important;
|
||||||
|
|
||||||
.modal-card-head, .modal-card-body, .modal-card-foot {
|
.modal-card-head, .modal-card-body, .modal-card-foot {
|
||||||
background-color: $turquoise2;
|
background-color: white;
|
||||||
color: $secondary;
|
color: $gray5;
|
||||||
border: none;
|
border: none;
|
||||||
padding-bottom: 12px;
|
padding-bottom: 12px;
|
||||||
}
|
}
|
||||||
.modal-custom-icon {
|
.modal-custom-icon {
|
||||||
background-color: white;
|
background-color: $gray1;
|
||||||
border-radius: 50px;
|
border-radius: 50px;
|
||||||
height: 80px;
|
height: 80px;
|
||||||
width: 80px;
|
width: 80px;
|
||||||
|
@ -75,7 +75,7 @@
|
||||||
}
|
}
|
||||||
.modal-card-head {
|
.modal-card-head {
|
||||||
h1 {
|
h1 {
|
||||||
color: $secondary;
|
color: $gray5;
|
||||||
}
|
}
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
:gutter="42"
|
:gutter="42"
|
||||||
class="tainacan-records-container">
|
class="tainacan-records-container">
|
||||||
<a
|
<a
|
||||||
href="www.google.com"
|
:href="item.url"
|
||||||
:key="index"
|
:key="index"
|
||||||
v-for="(item, index) of items"
|
v-for="(item, index) of items"
|
||||||
class="tainacan-record">
|
class="tainacan-record">
|
||||||
|
@ -37,7 +37,6 @@
|
||||||
:key="index"
|
:key="index"
|
||||||
class="metadata-title"
|
class="metadata-title"
|
||||||
v-if="collectionId != undefined && column.display && column.metadata_type_object != undefined && (column.metadata_type_object.related_mapped_prop == 'title')"
|
v-if="collectionId != undefined && column.display && column.metadata_type_object != undefined && (column.metadata_type_object.related_mapped_prop == 'title')"
|
||||||
@click="goToItemPage(item)"
|
|
||||||
v-html="item.metadata != undefined ? renderMetadata(item.metadata, column) : ''" />
|
v-html="item.metadata != undefined ? renderMetadata(item.metadata, column) : ''" />
|
||||||
<p
|
<p
|
||||||
v-tooltip="{
|
v-tooltip="{
|
||||||
|
@ -49,19 +48,15 @@
|
||||||
v-for="(column, index) in tableMetadata"
|
v-for="(column, index) in tableMetadata"
|
||||||
:key="index"
|
:key="index"
|
||||||
v-if="collectionId == undefined && column.display && column.metadata_type_object != undefined && (column.metadata_type_object.related_mapped_prop == 'title')"
|
v-if="collectionId == undefined && column.display && column.metadata_type_object != undefined && (column.metadata_type_object.related_mapped_prop == 'title')"
|
||||||
@click="goToItemPage(item)"
|
|
||||||
v-html="item.title != undefined ? item.title : ''" />
|
v-html="item.title != undefined ? item.title : ''" />
|
||||||
|
|
||||||
<!-- Remaining metadata -->
|
<!-- Remaining metadata -->
|
||||||
<div
|
<div class="media">
|
||||||
class="media"
|
|
||||||
@click="goToItemPage(item)">
|
|
||||||
|
|
||||||
<div class="list-metadata media-body">
|
<div class="list-metadata media-body">
|
||||||
<div
|
<div
|
||||||
class="thumbnail"
|
class="thumbnail"
|
||||||
v-if="item.thumbnail != undefined"
|
v-if="item.thumbnail != undefined">
|
||||||
@click="goToItemPage(item)">
|
|
||||||
<img :src="item['thumbnail'].medium_large ? item['thumbnail'].medium_large : thumbPlaceholderPath">
|
<img :src="item['thumbnail'].medium_large ? item['thumbnail'].medium_large : thumbPlaceholderPath">
|
||||||
</div>
|
</div>
|
||||||
<span
|
<span
|
||||||
|
|
Loading…
Reference in New Issue