improve NodeView components and style

This commit is contained in:
axolotle
2021-06-24 16:13:31 +02:00
parent f4d81dffcf
commit a25123f4f9
13 changed files with 54 additions and 71 deletions
+3 -2
View File
@@ -12,8 +12,9 @@
<slot name="default" />
<span><strong>{{ toCommaList(node.authors) }}</strong>,</span>
<span>
<span v-if="node.preTitle" v-html="trim(node.preTitle) + ', '" />
<em v-html="trim(node.title) || 'pas de titre ital'" />
<span v-if="node.preTitle" v-html="' ' + trim(node.preTitle) + ','" />
<em v-html="' ' + trim(node.title) || 'pas de titre ital'" />
<span v-if="edition && node.edition">, </span>
</span>
<div v-if="edition && node.edition" class="edition">
{{ node.edition.map(ed => ed.name).join(' ') }}