~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-22 13:34:30 UTC
  • Revision ID: somal@arcor.de-20181122133430-h88x9x8ewhfogwi1
fixed issues if the website get set up from scratch

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
 
                {% with last_post=forum.last_post %}
35
34
                {% if last_post %}
36
 
                        <a href="{{last_post.get_absolute_url}}">{{ last_post.topic.name }}</a><br />
37
 
                        <span class="small">by {{ last_post.user|user_link }}<br />
38
 
                        on {{ last_post.created|custom_date:user}}</span>
 
35
                        {% with last_post=forum.last_post %}
 
36
                                <a href="{{last_post.get_absolute_url}}">{{ last_post.topic.name }} öhm</a><br />
 
37
                                <span class="small">by {{ last_post.user|user_link }}<br />
 
38
                                on {{ last_post.created|custom_date:user}}</span>
 
39
                        {% endwith %}
39
40
                {% else %}
40
41
                        &nbsp;
41
42
                {% endif %}
42
 
                {% endwith %}
43
43
                </td>
44
44
        </tr>
45
45
        {% endfor %}