Small template fixes in forum

This commit is contained in:
Skia 2017-03-12 18:31:35 +01:00
parent a56d3a3088
commit 65e2514df2

View File

@ -28,7 +28,9 @@
<div class="ib w_medium"> <div class="ib w_medium">
{% if forum.last_message %} {% if forum.last_message %}
{{ forum.last_message.author }} <br/> {{ forum.last_message.author }} <br/>
{{ forum.last_message.date|date(DATETIME_FORMAT) }} {{ forum.last_message.date|time(DATETIME_FORMAT) }} <a href="{{ forum.last_message.get_absolute_url() }}">
{{ forum.last_message.date|localtime|date(DATETIME_FORMAT) }} {{ forum.last_message.date|localtime|time(DATETIME_FORMAT) }}
</a>
{% endif %} {% endif %}
</div> </div>
</div> </div>