Fixes dl syntax

This commit is contained in:
Mouse Reeve 2021-10-01 09:24:26 -07:00
parent a7614d8c35
commit 58fa3d9ad6

View file

@ -15,21 +15,15 @@
</h1> </h1>
{% if book %} {% if book %}
<dl> <dl>
<div class="is-flex"> <dt class="is-pulled-left mr-5 has-text-weight-semibold">{% trans "Added:" %}</dt>
<dt class="has-text-weight-semibold">{% trans "Added:" %}</dt> <dd class="ml-2">{{ book.created_date | naturaltime }}</dd>
<dd class="ml-2">{{ book.created_date | naturaltime }}</dd>
</div>
<div class="is-flex"> <dt class="is-pulled-left mr-5 has-text-weight-semibold">{% trans "Updated:" %}</dt>
<dt class="has-text-weight-semibold">{% trans "Updated:" %}</dt> <dd class="ml-2">{{ book.updated_date | naturaltime }}</dd>
<dd class="ml-2">{{ book.updated_date | naturaltime }}</dd>
</div>
{% if book.last_edited_by %} {% if book.last_edited_by %}
<div class="is-flex"> <dt class="is-pulled-left mr-5 has-text-weight-semibold">{% trans "Last edited by:" %}</dt>
<dt class="has-text-weight-semibold">{% trans "Last edited by:" %}</dt> <dd class="ml-2"><a href="{{ book.last_edited_by.remote_id }}">{{ book.last_edited_by.display_name }}</a></dd>
<dd class="ml-2"><a href="{{ book.last_edited_by.remote_id }}">{{ book.last_edited_by.display_name }}</a></dd>
</div>
{% endif %} {% endif %}
</dl> </dl>