|
@@ -20,7 +20,7 @@
|
|
|
</div> <!-- end span pagination -->
|
|
|
|
|
|
<div class="pull-right" style="padding-bottom: 10px">
|
|
|
- {% if current_user|post_reply(topic.forum) and not topic.locked %}
|
|
|
+ {% if current_user|post_reply(topic.forum) and not (topic.locked or not topic.forum.locked) %}
|
|
|
<a href="{{ url_for('forum.new_post', topic_id=topic.id) }}" class="btn btn-primary">Reply</a>
|
|
|
{% endif %}
|
|
|
{% if current_user|delete_topic(topic.first_post.user_id, topic.forum) %}
|