Fall back on username in moderation panel if full name not defined

This commit is contained in:
Matt Westcott 2014-03-31 16:39:39 +01:00
parent 5e373937eb
commit 14e15f6656

View file

@ -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 %}