From 8603f492c770d07818e2db79c578c78424e33410 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Mon, 28 Jul 2014 15:53:00 -0400 Subject: [PATCH] FIX: Latest link in site map was not working correctly. --- .../templates/site_map.js.handlebars | 24 ++++++++++--------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/site_map.js.handlebars b/app/assets/javascripts/discourse/templates/site_map.js.handlebars index ced8ab44ef2..fd97352d0bd 100644 --- a/app/assets/javascripts/discourse/templates/site_map.js.handlebars +++ b/app/assets/javascripts/discourse/templates/site_map.js.handlebars @@ -12,7 +12,7 @@ {{/if}}
  • - {{#titled-link-to "discovery.latest" titleKey="filters.latest.help" class="latest-topics-link"}}{{i18n filters.latest.title}}{{/titled-link-to}} + {{i18n filters.latest.title}}
  • {{#if showBadgesLink}}
  • @@ -37,17 +37,19 @@
  • {{#each categories itemController=itemController}} - {{category-link this allowUncategorized=true showParent=true}} - {{#if showBadges}} - {{#if unreadTopics}} - {{unreadTopics}} +
  • + {{category-link this allowUncategorized=true showParent=true}} + {{#if showBadges}} + {{#if unreadTopics}} + {{unreadTopics}} + {{/if}} + {{#if newTopics}} + {{newTopics}} {{i18n filters.new.title.zero}} + {{/if}} + {{else}} + {{unbound topic_count}} {{/if}} - {{#if newTopics}} - {{newTopics}} {{i18n filters.new.title.zero}} - {{/if}} - {{else}} - {{unbound topic_count}} - {{/if}} +
  • {{/each}} {{/if}}