renamed text_en_rebonds, text_de_depart et text_produits to siblings, parents and children
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user