~widelands-dev/widelands-website/anti_spam

« back to all changes in this revision

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

  • Committer: GunChleoc
  • Date: 2016-10-08 09:30:34 UTC
  • Revision ID: fios@foramnagaidhlig.net-20161008093034-pim8cohu4wpfbgt5
Proofreading.

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
                                on {{ forum.last_post.created|custom_date:user}}</span>
38
38
                        </td>
39
39
                        {% endif %}
40
 
                {% else %} {# no super_user: Show only unhided posts#}
41
 
                        {% if forum.last_unhided_post %}
 
40
                {% else %} {# no super_user: Show only nonhidden posts#}
 
41
                        {% if forum.last_nonhidden_post %}
42
42
                        <td class="lastPost">
43
 
                                <a href="{{forum.last_unhided_post.get_absolute_url}}">{{ forum.last_unhided_post.topic.name }}</a><br />
44
 
                                <span class="small">by {{ forum.last_unhided_post.user|user_link }}<br />
45
 
                                on {{ forum.last_unhided_post.created|custom_date:user}}</span>
 
43
                                <a href="{{forum.last_nonhidden_post.get_absolute_url}}">{{ forum.last_nonhidden_post.topic.name }}</a><br />
 
44
                                <span class="small">by {{ forum.last_nonhidden_post.user|user_link }}<br />
 
45
                                on {{ forum.last_nonhidden_post.created|custom_date:user}}</span>
46
46
                        </td>
47
47
                        {% endif %}
48
48
                {% endif %}