Closes #294, Browser page title is now Grafana - {{dashboard title}}

This commit is contained in:
Torkel Ödegaard
2014-04-10 12:12:15 +02:00
parent 78fab41310
commit d69b04e9ed
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -152,6 +152,8 @@ function (angular, $, kbn, _, config, moment, Modernizr) {
// Make sure the dashboard being loaded has everything required
dashboard = dash_defaults(dashboard);
window.document.title = 'Grafana - ' + dashboard.title;
// Set the current dashboard
self.current = angular.copy(dashboard);