'TRK': ['projectUuids']
'BRC': ['projectUuids']
'DIR': ['projectUuids', 'moduleUuids']
+ 'DEV': ['authors']
App.updateContextFacets = ->
facets = @state.get 'facets'
allFacets = @state.get 'allFacets'
facetsFromServer = @state.get 'facetsFromServer'
- facets.unshift 'context'
- allFacets.unshift 'context'
@state.set
facets: facets
allFacets: _.difference allFacets, @getRestrictedFacets()[window.config.resourceQualifier]
<a href="{{link '/components/index/' contextId }}">{{t 'components.page'}}</a>
</li>
<li {{#isActiveLink '/component_issues'}}class="active"{{/isActiveLink}}>
- <a href="{{link '/component_issues/index?id=' contextKey }}">{{t 'issues.page'}}</a>
+ <a href="{{link '/component_issues/index?id=' contextKeyEncoded }}">{{t 'issues.page'}}</a>
</li>
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">{{t 'more'}} <i class="icon-dropdown"></i></a>
serializeData: function () {
return _.extend(Marionette.Layout.prototype.serializeData.apply(this, arguments), {
- canManageContextDashboards: window.SS.user != null
+ canManageContextDashboards: window.SS.user != null,
+ contextKeyEncoded: encodeURIComponent(this.model.get('contextKey'))
});
}
});
font-size: @baseFontSize;
}
-.search-navigator-facet-box + .search-navigator-facet-box {
+.search-navigator-facet-box:not(.hidden) + .search-navigator-facet-box {
border-top: 1px solid @barBorderColor;
}