aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/coding-rules/facets/inheritance-facet.js
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-08-10 17:06:07 +0200
committerStas Vilchik <vilchiks@gmail.com>2015-08-10 17:11:36 +0200
commita3df8c53bec6e8e61cac61a41c8e7489b5bfb098 (patch)
tree547002af955d011a9ec402bf43e8e6c76c7f3809 /server/sonar-web/src/main/js/apps/coding-rules/facets/inheritance-facet.js
parent9eab62905ef3f1e1cb8b3b7f165c5f7fb07b218f (diff)
downloadsonarqube-a3df8c53bec6e8e61cac61a41c8e7489b5bfb098.tar.gz
sonarqube-a3df8c53bec6e8e61cac61a41c8e7489b5bfb098.zip
do not show numbers in the inheritance facet on the rules page
Diffstat (limited to 'server/sonar-web/src/main/js/apps/coding-rules/facets/inheritance-facet.js')
-rw-r--r--server/sonar-web/src/main/js/apps/coding-rules/facets/inheritance-facet.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/coding-rules/facets/inheritance-facet.js b/server/sonar-web/src/main/js/apps/coding-rules/facets/inheritance-facet.js
index 36f56294967..1a05fff7479 100644
--- a/server/sonar-web/src/main/js/apps/coding-rules/facets/inheritance-facet.js
+++ b/server/sonar-web/src/main/js/apps/coding-rules/facets/inheritance-facet.js
@@ -18,12 +18,14 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
define([
- './base-facet'
+ './base-facet',
+ '../templates'
], function (BaseFacet) {
var $ = jQuery;
return BaseFacet.extend({
+ template: Templates['coding-rules-inheritance-facet'],
initialize: function (options) {
this.listenTo(options.app.state, 'change:query', this.onQueryChange);