added description in accordion, default opened

This commit is contained in:
Bachir Soussi Chiadmi 2021-01-26 11:29:23 +01:00
parent 26c81c7c8e
commit e4b4a967a0
2 changed files with 10 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -85,8 +85,16 @@
</div> </div>
</section> --> </section> -->
</nav> </nav>
<section class="body" v-html="material.body"/>
<vsa-list> <vsa-list>
<vsa-item :initActive="true">
<vsa-heading>
<span class="label">Description</span>
</vsa-heading>
<vsa-content>
<section class="body" v-html="material.body"/>
</vsa-content>
</vsa-item>
<vsa-item v-if="material.linked_materials"> <vsa-item v-if="material.linked_materials">
<vsa-heading> <vsa-heading>
<span class="label">{{ $t("materio.Linked materials") }}</span> <span class="label">{{ $t("materio.Linked materials") }}</span>