[IMP] website_forum: add direct link to the answer. #4364

This commit is contained in:
Jeremy Kersten 2015-01-12 15:22:21 +01:00
parent 0de1d89648
commit 30a6be00dd
1 changed files with 4 additions and 1 deletions

View File

@ -651,7 +651,10 @@
t-field-options='{"widget": "contact", "country_image": true, "fields": ["name", "country_id"]}'
style="display: inline-block;"/>
<div t-field="answer.create_uid" t-field-options='{"widget": "contact", "badges": true, "fields": ["karma"]}'/>
<span class="text-muted">Answered on <span t-field="answer.create_date" t-field-options='{"format":"short"}'/></span>
<span class="text-muted">
<a t-attf-href="/forum/#{slug(question.forum_id)}/question/#{slug(question)}#answer_#{answer.id}">Answered on</a>
<span t-field="answer.create_date" t-field-options='{"format":"short"}'/>
</span>
</div>
<div class="visible-xs text-center">
<t t-call="website_forum.vote">