@@ -154,9 +154,11 @@
</span>
<span class="pull-right">
+ {% if current_user.is_authenticated %}
<a href="{{ url_for('forum.report_post', post_id=post.id) }}" onclick="window.open(this.href, 'wio_window','width=500,height=500'); return false;">
Report
</a> |
+ {% endif %}
{% if current_user|edit_post(post.user_id, topic.forum) %}
<a href="{{ url_for('forum.edit_post', post_id=post.id) }}">Edit</a> |
{% endif %}