#2087 biblio expression
This commit is contained in:
@@ -1247,6 +1247,12 @@ section[role="main-content"]{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
>nav{
|
||||||
|
aside.expression-links{
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#static{
|
#static{
|
||||||
|
|||||||
+22
-10
@@ -87,18 +87,16 @@
|
|||||||
<!-- or item -->
|
<!-- or item -->
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<div class="biblio-item">
|
<div class="biblio-item">
|
||||||
<h2>{{ item.authors }}</h2>
|
<h2>{{ item.type }}</h2>
|
||||||
<p v-if="item.dates" class="date">{{ item.dates }}</p>
|
<p class="author">Auteur: {{ item.authors }}</p>
|
||||||
<p class="lieu">{{ item.lieu }}</p>
|
<p v-if="item.dates" class="date">Dates : {{ item.dates }}</p>
|
||||||
<p class="titles">{{ item.titles }}</p>
|
<h3>Liste des manifestations :</h3>
|
||||||
<p class="edition">{{ item.edition }}</p>
|
|
||||||
<p class="extent">{{ item.extent }}</p>
|
|
||||||
<p class="tei" v-html="item.tei" />
|
|
||||||
<ul vi-if="item.manifestations.length" class="item-list">
|
<ul vi-if="item.manifestations.length" class="item-list">
|
||||||
<li v-for="manif in item.manifestations" :key="manif.uuid">
|
<li v-for="manif in item.manifestations" :key="manif.uuid">
|
||||||
|
<p v-html="manif.tei"/>
|
||||||
<router-link
|
<router-link
|
||||||
:to="{ name:'bibliographieItem', params:{ type:'manifestations', uuid:manif.uuid } }"
|
:to="{ name:'bibliographieItem', params:{ type:'manifestations', uuid:manif.uuid } }"
|
||||||
v-html="manif.tei"
|
v-html="manif.path"
|
||||||
/>
|
/>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@@ -110,8 +108,9 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template #nav>
|
|
||||||
<ul v-if="!uuid && type === 'manifestations'" class="authors-filters">
|
<template v-if="!uuid && type === 'manifestations'" #nav>
|
||||||
|
<ul class="authors-filters">
|
||||||
<li
|
<li
|
||||||
v-for="author in authors" :key="author"
|
v-for="author in authors" :key="author"
|
||||||
>
|
>
|
||||||
@@ -123,6 +122,16 @@
|
|||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</template>
|
</template>
|
||||||
|
<template v-else #nav>
|
||||||
|
<aside class="expression-links">
|
||||||
|
<p>
|
||||||
|
Permalien:<br/><a :href="`${item.url}`">{{ item.url }}</a>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
JSON:<br/><a :href="`${apipath}${item.path}${item.uuid}`">{{ apipath }}{{ item.path }}{{ item.uuid }}</a>
|
||||||
|
</p>
|
||||||
|
</aside>
|
||||||
|
</template>
|
||||||
</MainContentLayout>
|
</MainContentLayout>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -152,6 +161,9 @@ export default {
|
|||||||
item: Array
|
item: Array
|
||||||
}),
|
}),
|
||||||
computed: {
|
computed: {
|
||||||
|
apipath () {
|
||||||
|
return window.apipath
|
||||||
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
$route (to, from) {
|
$route (to, from) {
|
||||||
|
|||||||
Reference in New Issue
Block a user