renamed text_en_rebonds, text_de_depart et text_produits to siblings, parents and children

This commit is contained in:
axolotle
2021-03-10 17:32:48 +01:00
parent 9ffc2bf167
commit 19f37aa23b
9 changed files with 45 additions and 45 deletions
+12 -12
View File
@@ -16,10 +16,10 @@
<b-nav class="ml-auto flex-nowrap">
<b-nav-item
v-for="prod in text.prods" :key="prod.id"
@click="$emit('open', prod.id)"
v-for="child in text.children" :key="child.id"
@click="$emit('open', child.id)"
>
{{ prod.id }}
{{ child.id }}
</b-nav-item>
<b-nav-item @click="$emit('close')">
@@ -39,20 +39,20 @@
</b-badge>
<b-button
v-if="text.bounces"
:id="'bounces-' + text.id"
v-if="text.siblings"
:id="'siblings-' + text.id"
>
{{ $t('bounce_texts') }}
{{ $t('siblings') }}
</b-button>
<b-popover
v-if="text.bounces"
:target="'bounces-' + text.id" triggers="click" placement="top"
v-if="text.siblings"
:target="'siblings-' + text.id" triggers="click" placement="top"
>
<div v-for="bounce in text.bounces" :key="bounce.id">
<div v-for="sibling in text.siblings" :key="sibling.id">
<h6>
<span>{{ bounce.authors | list }},</span>
<span>{{ bounce.title }},</span>
<span>{{ bounce.edition }}</span>
<span>{{ sibling.authors | list }},</span>
<span>{{ sibling.title }},</span>
<span>{{ sibling.edition }}</span>
</h6>
</div>
</b-popover>