projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70d3652
)
[IMP] as the closing reason is not required, do not display it if none is present
author
Martin Trigaux
<mat@openerp.com>
Tue, 20 May 2014 12:50:51 +0000
(14:50 +0200)
committer
Martin Trigaux
<mat@openerp.com>
Tue, 20 May 2014 12:50:51 +0000
(14:50 +0200)
addons/website_forum/views/website_forum.xml
patch
|
blob
|
history
diff --git
a/addons/website_forum/views/website_forum.xml
b/addons/website_forum/views/website_forum.xml
index
0f132c4
..
f596193
100644
(file)
--- a/
addons/website_forum/views/website_forum.xml
+++ b/
addons/website_forum/views/website_forum.xml
@@
-436,7
+436,7
@@
</h1>
<div class="alert alert-info text-center" t-if="question.state == 'close'">
<p class="mt16">
- <b>The question has been closed for reason: <i t-esc="question.closed_reason_id.name"/></b>
+ <b>The question has been closed<t t-if="question.closed_reason_id"> for reason: <i t-esc="question.closed_reason_id.name"/></t></b>
</p>
<t t-if="question.closed_uid">
<b>by <a t-attf-href="/forum/#{ slug(forum) }/user/#{ question.closed_uid.id }"