[fix] website_forum: always display username/karma of loggedin user in navbar

This commit is contained in:
Pankaj Joshi
2015-07-07 11:04:05 +02:00
committed by Christophe Matthieu
parent fe1541abeb
commit bd0e0fc411
+1 -1
View File
@@ -80,7 +80,7 @@
</li>
<li t-if="not is_public_user" t-att-class="searches.get('my_profile') and 'active' or '' ">
<a t-attf-href="/forum/#{ slug(forum) }/user/#{uid}">
<span t-field="user.name"/> (k: <t t-esc="user.karma"/>)
<span t-field="user_id.name"/> (k: <t t-esc="user_id.karma"/>)
</a>
</li>
</ul>