[IMP] website_forum : In discuss change the label 'Reply' to 'Comment'.

This commit is contained in:
Ankit Joshi
2016-11-09 11:40:06 +01:00
committed by fwi-odoo
parent f652a9ce34
commit 4de7f81e8a
+4 -1
View File
@@ -879,11 +879,14 @@
</li>
</ul>
<ul class="list-inline mb0">
<li t-if="(question.post_type != 'question' or question.post_type == 'question' and not question.uid_has_answered) and question.state != 'close' and question.active != False">
<li t-if="(question.post_type in ('link','question') and not question.uid_has_answered) and question.state != 'close' and question.active != False">
<a t-attf-class="fa fa-reply #{not question.can_answer and 'karma_required text-muted' or ''}"
t-att-data-karma="question.forum_id.karma_answer"
href="#post_reply"> Reply</a>
</li>
<li t-if="question.post_type == 'discussion'">
<a t-attf-class="fa fa-comment-o #{not question.can_answer and 'karma_required text-muted' or None}" t-att-data-karma="question.forum_id.karma_answer" href="#post_reply"> Comment</a>
</li>
<li t-if="question.post_type == 'question'">
<a style="cursor: pointer" t-att-data-toggle="question.can_comment and 'collapse' or None"
t-attf-class="fa fa-comment-o #{not question.can_comment and 'karma_required text-muted' or ''}"