Use unreadCount in title

This commit is contained in:
riking 2015-03-27 17:19:00 -07:00
parent f5e27fe2c8
commit c1528e598f
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ export default Discourse.Controller.extend({
bodyParts.push(I18n.t(self.i18nKey(n), i18nOpts)); bodyParts.push(I18n.t(self.i18nKey(n), i18nOpts));
}); });
const notificationTitle = I18n.t('notifications.popup_title', { count: unseenCount, site_title: Discourse.SiteSettings.title }); const notificationTitle = I18n.t('notifications.popup_title', { count: unreadCount, site_title: Discourse.SiteSettings.title });
const notificationBody = bodyParts.join("\n"); const notificationBody = bodyParts.join("\n");
const notificationIcon = Discourse.SiteSettings.logo_small_url || Discourse.SiteSettings.logo_url; const notificationIcon = Discourse.SiteSettings.logo_small_url || Discourse.SiteSettings.logo_url;
const notificationTag = self.get('notificationTagName'); const notificationTag = self.get('notificationTagName');