From 4e1a628ff9912d212dea6366eede697a04c75903 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Tue, 25 Feb 2014 16:02:13 -0500 Subject: [PATCH] Hooks for extra nav items. --- .../discourse/templates/navigation/categories.js.handlebars | 1 + .../discourse/templates/navigation/category.js.handlebars | 1 + .../discourse/templates/navigation/default.js.handlebars | 1 + 3 files changed, 3 insertions(+) diff --git a/app/assets/javascripts/discourse/templates/navigation/categories.js.handlebars b/app/assets/javascripts/discourse/templates/navigation/categories.js.handlebars index 58f3db47a8a..04ca78e96c7 100644 --- a/app/assets/javascripts/discourse/templates/navigation/categories.js.handlebars +++ b/app/assets/javascripts/discourse/templates/navigation/categories.js.handlebars @@ -4,6 +4,7 @@ {{#each navItem in navItems}} {{navigation-item content=navItem filterMode=filterMode}} {{/each}} + {{customHTML "extraNavItem"}} {{#if canCreateCategory}} diff --git a/app/assets/javascripts/discourse/templates/navigation/category.js.handlebars b/app/assets/javascripts/discourse/templates/navigation/category.js.handlebars index 2a9119e6193..de0ec0ffecb 100644 --- a/app/assets/javascripts/discourse/templates/navigation/category.js.handlebars +++ b/app/assets/javascripts/discourse/templates/navigation/category.js.handlebars @@ -4,6 +4,7 @@ {{#each navItem in navItems}} {{navigation-item content=navItem filterMode=filterMode}} {{/each}} + {{customHTML "extraNavItem"}} {{#if canCreateTopic}} diff --git a/app/assets/javascripts/discourse/templates/navigation/default.js.handlebars b/app/assets/javascripts/discourse/templates/navigation/default.js.handlebars index 149ba15c9f5..04bbf2b4e67 100644 --- a/app/assets/javascripts/discourse/templates/navigation/default.js.handlebars +++ b/app/assets/javascripts/discourse/templates/navigation/default.js.handlebars @@ -4,6 +4,7 @@ {{#each navItem in navItems}} {{navigation-item content=navItem filterMode=filterMode}} {{/each}} + {{customHTML "extraNavItem"}} {{#if canCreateTopic}}