~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to templates/pybb/inlines/display_category.html

  • Committer: franku
  • Date: 2018-11-28 19:44:44 UTC
  • Revision ID: somal@arcor.de-20181128194444-n9b0sn1jyojgkea3
fixed showing last posts

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
                        Posts: {{ forum.posts.count }}
32
32
                </td>
33
33
                <td class="lastPost">
34
 
                {% if last_post %}
 
34
                {% if forum.last_post %}
35
35
                        {% with last_post=forum.last_post %}
36
 
                                <a href="{{last_post.get_absolute_url}}">{{ last_post.topic.name }} öhm</a><br />
 
36
                                <a href="{{last_post.get_absolute_url}}">{{ last_post.topic.name }}</a><br />
37
37
                                <span class="small">by {{ last_post.user|user_link }}<br />
38
38
                                on {{ last_post.created|custom_date:user}}</span>
39
39
                        {% endwith %}