diff --git a/src/app/components/settings.js b/src/app/components/settings.js index 01f40c2e761..38313aeb198 100644 --- a/src/app/components/settings.js +++ b/src/app/components/settings.js @@ -17,6 +17,7 @@ function (_, crypto) { window_title_prefix : 'Grafana - ', panels : { 'graph': { path: 'panels/graph' }, + 'stats': { path: 'panels/stats' }, 'text': { path: 'panels/text' } }, plugins : {}, diff --git a/src/app/directives/panelMenu.js b/src/app/directives/panelMenu.js index f8ea42c6873..2a68dd30865 100644 --- a/src/app/directives/panelMenu.js +++ b/src/app/directives/panelMenu.js @@ -9,7 +9,7 @@ function (angular, $, _) { angular .module('grafana.directives') .directive('panelMenu', function($compile) { - var linkTemplate = '{{panel.title | interpolateTemplateVars}}'; + var linkTemplate = '{{panel.title | interpolateTemplateVars}}'; function createMenuTemplate($scope) { var template = '
avg | min | max | current | total | '; - body += '|
---|---|---|---|---|---|
'; - body += series.info.alias + ' | '; - body += '' + series.info.avg + ' | '; - body += '' + series.info.min + ' | '; - body += '' + series.info.max + ' | '; - body += '' + series.info.total + ' | '; - body += '' + series.info.current + ' | '; - } - body += '