
This commit adds links of the openstack-health on the Timeline and Test details. Change-Id: I7fd65dbbd6068b5cfc3a9b48b6d034ebd2f768f9
29 lines
492 B
JavaScript
29 lines
492 B
JavaScript
'use strict';
|
|
|
|
var directivesModule = require('./_index.js');
|
|
|
|
/**
|
|
* @ngInject
|
|
*/
|
|
function timelineDetails(AppSettings) {
|
|
|
|
/**
|
|
* @ngInject
|
|
*/
|
|
var controller = function($scope) {
|
|
$scope.healthRoot = AppSettings.healthRoot;
|
|
};
|
|
|
|
return {
|
|
restrict: 'EA',
|
|
scope: {
|
|
'artifactName': '=',
|
|
'item': '='
|
|
},
|
|
controller: controller,
|
|
templateUrl: 'directives/timeline-details.html'
|
|
};
|
|
}
|
|
|
|
directivesModule.directive('timelineDetails', timelineDetails);
|