fixed samples in modal card from linked material #1706
This commit is contained in:
parent
20ab9bfe45
commit
d614a1cf7a
File diff suppressed because one or more lines are too long
Binary file not shown.
|
@ -1,5 +1,6 @@
|
||||||
fragment MateriauModalFields on Materiau {
|
fragment MateriauModalFields on Materiau {
|
||||||
id
|
id
|
||||||
|
path
|
||||||
title
|
title
|
||||||
short_description
|
short_description
|
||||||
reference
|
reference
|
||||||
|
|
|
@ -56,7 +56,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section class="tool samples" v-if="item.samples && item.samples.length">
|
<section class="tool samples" v-if="material.samples && material.samples.length">
|
||||||
<span
|
<span
|
||||||
class="btn mdi mdi-map-marker-star-outline"
|
class="btn mdi mdi-map-marker-star-outline"
|
||||||
v-touch.prevent.stop="onTapTool"
|
v-touch.prevent.stop="onTapTool"
|
||||||
|
@ -65,7 +65,7 @@
|
||||||
<span class="label">{{ $t("materio.Samples") }}</span>
|
<span class="label">{{ $t("materio.Samples") }}</span>
|
||||||
<ul>
|
<ul>
|
||||||
<li
|
<li
|
||||||
v-for="sample in item.samples"
|
v-for="sample in material.samples"
|
||||||
:key="sample.showroom.id"
|
:key="sample.showroom.id"
|
||||||
>
|
>
|
||||||
<span class="showroom">{{ sample.showroom.name }}</span>: {{ sample.location }}
|
<span class="showroom">{{ sample.showroom.name }}</span>: {{ sample.location }}
|
||||||
|
@ -89,7 +89,7 @@
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section class="tool print">
|
<section class="tool print">
|
||||||
<a :href="item.path+'/printable/print'" target="_blank">
|
<a :href="material.path+'/printable/print'" target="_blank">
|
||||||
<span class="btn mdi mdi-printer"/>
|
<span class="btn mdi mdi-printer"/>
|
||||||
</a>
|
</a>
|
||||||
</section>
|
</section>
|
||||||
|
|
Loading…
Reference in New Issue