mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Merge branch 'v2.0.x'
Conflicts: conf/sample.ini
This commit is contained in:
commit
294f7f1f0d
@ -4,7 +4,7 @@
|
|||||||
"company": "Coding Instinct AB"
|
"company": "Coding Instinct AB"
|
||||||
},
|
},
|
||||||
"name": "grafana",
|
"name": "grafana",
|
||||||
"version": "2.1.0-pre1",
|
"version": "2.0.3-pre1",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "http://github.com/torkelo/grafana.git"
|
"url": "http://github.com/torkelo/grafana.git"
|
||||||
|
@ -90,7 +90,7 @@ function (angular, _, kbn, moment, $) {
|
|||||||
}
|
}
|
||||||
return result.data;
|
return result.data;
|
||||||
},function() {
|
},function() {
|
||||||
$scope.appEvent('alert-error', ["Dashboard load failed", "Could not load <i>dashboards/"+file+"</i>. Please make sure it exists"]);
|
$scope.appEvent('alert-error', ["Dashboard load failed", "Could not load "+file+". Please make sure it exists"]);
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
@ -29,7 +29,7 @@ function (angular, _) {
|
|||||||
this.set = function(title,text,severity,timeout) {
|
this.set = function(title,text,severity,timeout) {
|
||||||
var newAlert = {
|
var newAlert = {
|
||||||
title: title || '',
|
title: title || '',
|
||||||
text: $sce.trustAsHtml(text || ''),
|
text: text || '',
|
||||||
severity: severity || 'info',
|
severity: severity || 'info',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
<i class="fa fa-times-circle"></i>
|
<i class="fa fa-times-circle"></i>
|
||||||
</button>
|
</button>
|
||||||
<div class="alert-title">{{alert.title}}</div>
|
<div class="alert-title">{{alert.title}}</div>
|
||||||
<div ng-bind-html='alert.text'></div>
|
<div ng-bind='alert.text'></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user