diff --git a/app/assets/javascripts/discourse/helpers/application_helpers.js b/app/assets/javascripts/discourse/helpers/application_helpers.js index adb570eb276..adb5cc5751d 100644 --- a/app/assets/javascripts/discourse/helpers/application_helpers.js +++ b/app/assets/javascripts/discourse/helpers/application_helpers.js @@ -328,6 +328,6 @@ Handlebars.registerHelper('faqLink', function(property, options) { return new Handlebars.SafeString( "" + I18n.t('faq') + "" + "' class='faq-link'>" + I18n.t('faq') + "" ); }); diff --git a/app/assets/javascripts/discourse/templates/components/header-category-info.js.handlebars b/app/assets/javascripts/discourse/templates/components/header-category-info.js.handlebars index 156c4ab010c..d21be9154c3 100644 --- a/app/assets/javascripts/discourse/templates/components/header-category-info.js.handlebars +++ b/app/assets/javascripts/discourse/templates/components/header-category-info.js.handlebars @@ -2,12 +2,12 @@ {{#if currentUser}} {{#with view.category}} {{#if unreadTopics}} - {{unbound unreadTopics}} + {{unbound unreadTopics}} {{/if}} {{#if newTopics}} {{unbound newTopics}} {{/if}} {{/with}} {{else}} -{{unbound category.topic_count}} +{{unbound category.topic_count}} {{/if}} diff --git a/app/assets/javascripts/discourse/templates/header.js.handlebars b/app/assets/javascripts/discourse/templates/header.js.handlebars index cf0bce00520..ed85a469cd0 100644 --- a/app/assets/javascripts/discourse/templates/header.js.handlebars +++ b/app/assets/javascripts/discourse/templates/header.js.handlebars @@ -76,7 +76,8 @@ data-dropdown="site-map-dropdown" data-render="renderSiteMap" href="#" - title='{{i18n site_map}}'> + title='{{i18n site_map}}' + id="site-map"> {{/if}} @@ -101,20 +102,20 @@