[IMP] improved date format.
bzr revid: tpa@tinyerp.com-20140403065958-nxgid281vzykqwlk
This commit is contained in:
parent
bbb344501d
commit
3b5b7922aa
|
@ -43,7 +43,7 @@
|
|||
</div>
|
||||
<div class="text-muted">
|
||||
by <a t-attf-href="/forum/#{ slug(forum) }/user/#{ question.user_id.id }" t-field="question.user_id"/>,
|
||||
on <span t-field="question.write_date"/>
|
||||
on <span t-field="question.write_date" t-field-options='{"format":"short"}'/>
|
||||
<div t-if="question.vote_count">
|
||||
<strong>with <span t-esc="question.vote_count"/> votes</strong>
|
||||
</div>
|
||||
|
@ -442,7 +442,7 @@
|
|||
</div>
|
||||
<t t-call="website_forum.user_detail">
|
||||
<t t-set="user" t-value="question.user_id"/>
|
||||
<span class="text-muted">Asked on <span t-field="question.write_date"/></span>
|
||||
<span class="text-muted">Asked on <span t-field="question.write_date" t-field-options='{"format":"short"}'/></span>
|
||||
</t>
|
||||
<div class="alert alert-info" t-if="question.state == 'close'">
|
||||
<p class="mt32 mb32 text-center">
|
||||
|
@ -492,7 +492,7 @@
|
|||
</ul>
|
||||
<t t-call="website_forum.user_detail">
|
||||
<t t-set="user" t-value="answer.user_id"/>
|
||||
<span class="text-muted">Answered on <span t-field="answer.create_date"/></span>
|
||||
<span class="text-muted">Answered on <span t-field="answer.create_date" t-field-options='{"format":"short"}'/></span>
|
||||
</t>
|
||||
</div>
|
||||
<t t-call="website_forum.comments">
|
||||
|
@ -747,13 +747,13 @@
|
|||
<li>
|
||||
<a href="#answers" data-toggle="tab"><t t-esc="len(answers)"/> Answers</a>
|
||||
</li>
|
||||
<li>
|
||||
<li t-if="uid == user.id">
|
||||
<a href="#activity" data-toggle="tab">Activity</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#badges" data-toggle="tab">Badges</a>
|
||||
</li>
|
||||
<li>
|
||||
<li t-if="uid == user.id">
|
||||
<a href="#followed_question" data-toggle="tab"><t t-esc="len(followed)"/> Followed Question</a>
|
||||
</li>
|
||||
<li>
|
||||
|
|
Loading…
Reference in New Issue