[IMP] as the closing reason is not required, do not display it if none is present
This commit is contained in:
@@ -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 }"
|
||||
|
||||
Reference in New Issue
Block a user