76ce63895f
Fixes #855
18 lines
No EOL
485 B
JavaScript
18 lines
No EOL
485 B
JavaScript
/**
|
|
* An element which displays a priority triangle for vulnerabilities.
|
|
*/
|
|
angular.module('quay').directive('vulnerabilityPriorityView', function () {
|
|
var directiveDefinitionObject = {
|
|
priority: 0,
|
|
templateUrl: '/static/directives/vulnerability-priority-view.html',
|
|
replace: false,
|
|
transclude: true,
|
|
restrict: 'C',
|
|
scope: {
|
|
'priority': '=priority'
|
|
},
|
|
controller: function($scope, $element) {
|
|
}
|
|
};
|
|
return directiveDefinitionObject;
|
|
}); |