From 88ccd287b48a2f70d2c8ed96e1b1f273373e63d3 Mon Sep 17 00:00:00 2001 From: Sam Date: Mon, 28 Oct 2013 08:39:55 +1100 Subject: [PATCH] allow uncategorized category in 2 more spots (hamburger and drop down) --- .../components/discourse-categorydrop.js.handlebars | 6 ++---- .../javascripts/discourse/templates/header.js.handlebars | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/components/discourse-categorydrop.js.handlebars b/app/assets/javascripts/discourse/templates/components/discourse-categorydrop.js.handlebars index c586619cc83..c7431539092 100644 --- a/app/assets/javascripts/discourse/templates/components/discourse-categorydrop.js.handlebars +++ b/app/assets/javascripts/discourse/templates/components/discourse-categorydrop.js.handlebars @@ -1,5 +1,5 @@ {{#if category}} - {{boundCategoryLink category}} + {{boundCategoryLink category allowUncategorized=true}} {{else}} {{/if}} @@ -7,8 +7,6 @@ {{#if categories}}
- {{#each categories}} -
{{categoryLink this}}
- {{/each}} + {{#each categories}}
{{categoryLink this allowUncategorized=true}}
{{/each}}
{{/if}} diff --git a/app/assets/javascripts/discourse/templates/header.js.handlebars b/app/assets/javascripts/discourse/templates/header.js.handlebars index c3790dde11c..f5cc6a7422c 100644 --- a/app/assets/javascripts/discourse/templates/header.js.handlebars +++ b/app/assets/javascripts/discourse/templates/header.js.handlebars @@ -144,7 +144,7 @@ {{#each categories}}
  • - {{categoryLink this}} + {{categoryLink this allowUncategorized=true}} {{unbound topic_count}}
  • {{/each}}