Skip to content

Commit

Permalink
Don't show reply button if question is locked. [bug 633015]
Browse files Browse the repository at this point in the history
  • Loading branch information
rlr committed Feb 10, 2011
1 parent 6c95c02 commit 5a22d28
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/questions/templates/questions/answers.html
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,9 @@ <h1>
{{ _('No replies') }}
{% endif %}
</h1>
<a class="btn btn-important" href="#question-reply">{{ _('Post a Reply') }}</a>
{% if not question.is_locked %}
<a class="btn btn-important" href="#question-reply">{{ _('Post a Reply') }}</a>
{% endif %}
</header>
<ol class="answers">
{% for answer in answers.object_list %}
Expand Down

0 comments on commit 5a22d28

Please sign in to comment.