Custom Navigation Bar items (bugs) removed?

(Dean Taylor) #1

Just noticed the custom navigation bar items for “Bugs” etc are missing perhaps removed?

Just wondering if there was a reason behind this?

(Sam Saffron) #2

This is why I did not notice this :slight_smile:

I will have a look later, bookmarked.

(Sam Saffron) #3

K, added them back …

(Sam Saffron) #4

(Sam Saffron) #5

For the record, this is what was added to </body>

 Discourse.ExternalNavItem = Discourse.NavItem.extend({
    href : function() {
      return this.get('href');

  I18n.translations.en.js.filters.bugs = { title: "Bugs", help: "Open Bugs" };
  I18n.translations.en.js.filters.features = { title: "Features", help: "Open Feature Requests" }

    buildList : function(category, args) {
      var list = this._super(category, args);
      if(!category) {
        list.push(Discourse.ExternalNavItem.create({href: '/category/bug?order=op_likes&status=open', name: 'bugs'}));
        list.push(Discourse.ExternalNavItem.create({href: '/category/feature?order=op_likes&status=open', name: 'features'}));
      return list;

Discourse Voting