forked from mirrors/bookwyrm
Don't show last edited by link if it's not set
This commit is contained in:
parent
931f78d7c2
commit
1e7b56cdb0
1 changed files with 2 additions and 0 deletions
|
@ -12,7 +12,9 @@
|
||||||
<div>
|
<div>
|
||||||
<p>{% trans "Added:" %} {{ author.created_date | naturaltime }}</p>
|
<p>{% trans "Added:" %} {{ author.created_date | naturaltime }}</p>
|
||||||
<p>{% trans "Updated:" %} {{ author.updated_date | naturaltime }}</p>
|
<p>{% trans "Updated:" %} {{ author.updated_date | naturaltime }}</p>
|
||||||
|
{% if author.last_edited_by %}
|
||||||
<p>{% trans "Last edited by:" %} <a href="{{ author.last_edited_by.remote_id }}">{{ author.last_edited_by.display_name }}</a></p>
|
<p>{% trans "Last edited by:" %} <a href="{{ author.last_edited_by.remote_id }}">{{ author.last_edited_by.display_name }}</a></p>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue