[FIX] mail: font-family of notification counter in systray

On firefox, the font-family of the counter was font-awesome instead of Roboto
because the counter was inside the <i> tag on which font-awesome rules applied.
This rev. simply moves the counter out of that <i> tag.
This commit is contained in:
Aaron Bohy
2015-10-16 15:52:01 +02:00
committed by Géry Debongnie
parent b8badd6263
commit 6b2250b2d2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ var NotificationTopButton = Widget.extend({
return this._super();
},
update_counter: function (counter) {
this.$('.fa-comment').html(counter);
this.$('.o_notification_counter').html(counter);
},
on_click: function (event) {
var self = this;
+1 -1
View File
@@ -11,7 +11,7 @@
<t t-name="mail.chat.NotificationTopButton">
<li t-att-title='_t("Notifications")'>
<a href="#">
<i class="fa fa-comment"/> <t t-esc="widget.get('counter') || ''"/>
<i class="fa fa-comment"/> <span class="o_notification_counter"/>
</a>
</li>
</t>