Minor UI improvements

This commit is contained in:
2025-05-25 19:13:28 +02:00
parent de126a735d
commit 1c25ac9b14
7 changed files with 19 additions and 23 deletions

View File

@@ -9,6 +9,9 @@
{% endfor %}
</p>
{% endif %}
{% if not book.published %}
<span class="badge text-bg-warning">Unpublished</span> |
{% endif %}
<small class="text-body-secondary">Updated {{ book.updated_time | date:"M d, Y H:i" }}</small>
{% endblock %}
{% block carousel %}
@@ -60,11 +63,6 @@
<th colspan="2" scope="row">
{% if type == "catalog" %}Catalog
{% elif type == "book" %}Book{% endif %}
<div class="float-end">
{% if not book.published %}
<span class="badge text-bg-warning">Draft</span>
{% endif %}
</div>
</th>
</tr>
</thead>