forked from mirrors/bookwyrm
Fixes dl syntax
This commit is contained in:
parent
a7614d8c35
commit
58fa3d9ad6
1 changed files with 6 additions and 12 deletions
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue