Skip to content

Commit

Permalink
Display file information
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioMendolia committed Sep 6, 2023
1 parent 5a780d9 commit 5c69c0e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions templates/book/index.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,21 @@
<tr>
<th>Verified</th><td>{{ component('InlineEditBook', {'book':book, 'field':'verified', inline: true, suggestions:suggestions}) }}</td>
</tr>
<tr>
<td colspan="2">
<ul class="small">
<li>Book: <code>{{ book.bookPath }}{{ book.bookFilename }}</code></li>
<li>Image: <code>{{ book.imagePath }}{{ book.imageFilename }}</code></li>
</ul>
</td>
</tr>

</table>

{% if not book.verified %}
<div class="row">

{% if suggestions.image|length >0 %}
<div class="col-md-12">
<h5>Suggested images</h5>
</div>
Expand All @@ -86,6 +96,7 @@
</a>
</div>
{% endfor %}
{% endif %}
</div>
{% endif %}
</div>
Expand Down

0 comments on commit 5c69c0e

Please sign in to comment.