#2091 index œuvres
This commit is contained in:
+8
-1
@@ -618,6 +618,13 @@ section[role="main-content"]{
|
||||
color: $bleuroi;
|
||||
}
|
||||
}
|
||||
>nav{
|
||||
aside.links{
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#edition{
|
||||
@@ -1268,7 +1275,7 @@ section[role="main-content"]{
|
||||
}
|
||||
}
|
||||
>nav{
|
||||
aside.expression-links{
|
||||
aside.links{
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
@@ -145,7 +145,7 @@
|
||||
</ul>
|
||||
</template>
|
||||
<template v-else #nav>
|
||||
<aside class="expression-links">
|
||||
<aside class="links">
|
||||
<p>
|
||||
Permalien:<br><a :href="`${item.url}`">{{ item.url }}</a>
|
||||
</p>
|
||||
|
||||
@@ -31,6 +31,17 @@
|
||||
<!-- default slot -->
|
||||
<IndexItemOcurrences v-if="content" :content="content" />
|
||||
|
||||
<template #nav>
|
||||
<aside class="links">
|
||||
<p>
|
||||
Permalien:<br><a :href="`${content.url}`">{{ content.url }}</a>
|
||||
</p>
|
||||
<p>
|
||||
JSON:<br><a :href="`${apipath}${content.path}${content.uuid}`">{{ apipath }}{{ content.path }}{{ content.uuid }}</a>
|
||||
</p>
|
||||
</aside>
|
||||
</template>
|
||||
|
||||
</MainContentLayout>
|
||||
</template>
|
||||
|
||||
|
||||
+11
-1
@@ -38,7 +38,17 @@
|
||||
<!-- default slot -->
|
||||
<IndexItemOcurrences v-if="content" :content="content" />
|
||||
|
||||
<template v-if="content" v-slot:nav />
|
||||
<template #nav>
|
||||
<aside class="links">
|
||||
<p>
|
||||
Permalien:<br><a :href="`${content.url}`">{{ content.url }}</a>
|
||||
</p>
|
||||
<p>
|
||||
JSON:<br><a :href="`${apipath}${content.path}${content.uuid}`">{{ apipath }}{{ content.path }}{{ content.uuid }}</a>
|
||||
</p>
|
||||
</aside>
|
||||
</template>
|
||||
|
||||
</MainContentLayout>
|
||||
</template>
|
||||
|
||||
|
||||
+18
-13
@@ -6,22 +6,16 @@
|
||||
|
||||
<template v-if="content" v-slot:header>
|
||||
<h1 v-html="content.title" />
|
||||
<section v-if="content.author.length" class="authors">
|
||||
<ul>
|
||||
<li v-for="author in content.author" :key="author.uuid">
|
||||
<router-link
|
||||
:to="{ name:'nominum', params: { id: author.uuid }}"
|
||||
>
|
||||
{{ author.name }}
|
||||
</router-link>
|
||||
<h2 v-html="content.rubrique" />
|
||||
<p><em>{{ content.type }}</em></p>
|
||||
<p v-if="content.location"><span class="label">Adresse :</span> {{ content.location }}</p>
|
||||
<p v-if="content.description">{{ content.description }}</p>
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<section class="notes">
|
||||
<section v-if="content.notes && content.notes.length" class="notes">
|
||||
<h3>Notes</h3>
|
||||
<div v-for="(note, i) in content.note" :key="i" class="note" v-html="note" />
|
||||
</section>
|
||||
<section v-if="content.autorities.length" class="autorities">
|
||||
<section v-if="content.autorities && content.autorities.length" class="autorities">
|
||||
<h3>Autorities</h3>
|
||||
<ul>
|
||||
<li v-for="(aut, i) in content.autorities" :key="i">
|
||||
@@ -32,11 +26,22 @@
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
</template>
|
||||
|
||||
<!-- default slot -->
|
||||
<IndexItemOcurrences v-if="content" :content="content" />
|
||||
|
||||
<template #nav>
|
||||
<aside class="links">
|
||||
<p>
|
||||
Permalien:<br><a :href="`${content.url}`">{{ content.url }}</a>
|
||||
</p>
|
||||
<p>
|
||||
JSON:<br><a :href="`${apipath}${content.path}${content.uuid}`">{{ apipath }}{{ content.path }}{{ content.uuid }}</a>
|
||||
</p>
|
||||
</aside>
|
||||
</template>
|
||||
</MainContentLayout>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user