Files
awx/awx/ui/client/lib/components/list/row-item.directive.js
2018-10-31 11:04:11 -04:00

35 lines
863 B
JavaScript

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