mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-23 06:15:49 +00:00
Fall back on username in moderation panel if full name not defined
This commit is contained in:
parent
5e373937eb
commit
14e15f6656
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@
|
|||
</td>
|
||||
<td valign="top">
|
||||
<div class="human-readable-date" title="{{ revision.created_at|date:"d M Y H:i" }}">{{ revision.created_at|timesince }} ago </div>
|
||||
by {{ revision.user.get_full_name }}
|
||||
by {{ revision.user.get_full_name|default:revision.user.get_username }}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
|
|
|||
Loading…
Reference in a new issue