Files
awx/awx/ui/client/lib/components/list/row-item.directive.js
2018-01-11 11:20:12 -05:00

25 lines
580 B
JavaScript

const templateUrl = require('~components/list/row-item.partial.html');
function atRowItem () {
return {
restrict: 'E',
replace: true,
transclude: true,
templateUrl,
scope: {
headerValue: '@',
headerLink: '@',
headerTag: '@',
labelValue: '@',
value: '@',
valueLink: '@',
smartStatus: '=?',
tagValues: '=?',
// TODO: add see more for tags if applicable
tagsAreCreds: '@'
}
};
}
export default atRowItem;