Affichage tags

This commit is contained in:
Meutel 2017-01-03 22:32:46 +01:00
parent f23cab4b01
commit eee0323f6c

View File

@ -50,7 +50,14 @@
<h2><span class="glyphicon glyphicon-globe"></span> Langue</h2> <h2><span class="glyphicon glyphicon-globe"></span> Langue</h2>
<ul><li>{{ book.lang.toUpperCase() }}</li></ul> <ul><li>{{ book.lang.toUpperCase() }}</li></ul>
<!-- TODO tags --> <h2 v-if="book.tags">
<span class="glyphicon glyphicon-tags"></span> Tags
</h2>
<div v-if="book.tags">
<template v-for="tag in book.tags">
<span class="label label-info">{{ tag }}</span>&nbsp;
</template>
</div>
<h2>Détails</h2> <h2>Détails</h2>
<ul> <ul>