diff --git a/src/components/text/TextCard.vue b/src/components/text/TextCard.vue new file mode 100644 index 0000000..1ec0a0a --- /dev/null +++ b/src/components/text/TextCard.vue @@ -0,0 +1,62 @@ + + + + + + + {{ child.id }} + + + + + + + + + + + + {{ $t('siblings') }} + + + + + {{ toCommaList(sibling.authors) }}, + {{ sibling.title }}, + {{ sibling.edition }} + + + + + + + + + + diff --git a/src/components/text/TextCardBase.vue b/src/components/text/TextCardBase.vue index ffe343c..25a7f52 100644 --- a/src/components/text/TextCardBase.vue +++ b/src/components/text/TextCardBase.vue @@ -5,7 +5,7 @@ - {{ text.authors | list }}, + {{ toCommaList(text.authors) }}, {{ text.title }}, {{ text.edition }} @@ -14,20 +14,10 @@ - - - {{ child.id }} - - - - + - + - - {{ $t('siblings') }} - - - - - {{ sibling.authors | list }}, - {{ sibling.title }}, - {{ sibling.edition }} - - - + @@ -63,27 +36,34 @@ + +