forked from dbroqua/MusicTopus
Added format description in my-collection view & fixed bug in list
This commit is contained in:
parent
2ada3c39d0
commit
7cc43dba43
4 changed files with 38 additions and 31 deletions
|
@ -52,11 +52,20 @@
|
|||
<br />
|
||||
<span><strong>Pays :</strong> {{ item.country }}</span>
|
||||
<br />
|
||||
<span class="items"><strong>Format :</strong> <span v-for="format in item.formats">{{ format.name }}</span></span>
|
||||
<span>
|
||||
<strong>Format : </strong>
|
||||
<span v-for="(format, index) in item.formats">
|
||||
{{ format.name }}
|
||||
(<template v-for="(description, j) in format.descriptions">
|
||||
{{description}}<template v-if="j < format.descriptions.length - 1">, </template>
|
||||
</template>)
|
||||
<template v-if="index < item.formats.length - 1">,</template>
|
||||
</span>
|
||||
</span>
|
||||
<br />
|
||||
<span class="items"><strong>Genre :</strong> <span v-for="genre in item.genres">{{ genre }}</span></span>
|
||||
<span><strong>Genre :</strong> <template v-for="(genre, index) in item.genres">{{ genre }}<template v-if="index < item.genres.length - 1">, </template></template></span>
|
||||
<br />
|
||||
<span class="items"><strong>Style :</strong> <span v-for="style in item.styles">{{ style }}</span></span>
|
||||
<span><strong>Style :</strong> <template v-for="(style, index) in item.styles">{{ style }}<template v-if="index < item.styles.length - 1">, </template></template></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue