mirror of
https://github.com/ansible/awx.git
synced 2026-05-12 11:57:37 -02:30
First smart status commit with new files
the smart status folder and main, controller, and directive
This commit is contained in:
@@ -10,10 +10,11 @@
|
||||
* Functions shared between FormGenerator and ListGenerator
|
||||
*
|
||||
*/
|
||||
import systemStatus from 'tower/smart-status/main';
|
||||
|
||||
|
||||
export default
|
||||
angular.module('GeneratorHelpers', [])
|
||||
angular.module('GeneratorHelpers', [systemStatus.name])
|
||||
|
||||
.factory('Attr', function () {
|
||||
return function (obj, key, fld) {
|
||||
@@ -630,6 +631,9 @@ angular.module('GeneratorHelpers', [])
|
||||
}) + ' ';
|
||||
});
|
||||
}
|
||||
else if(field.smartStatus){
|
||||
html += '<aw-smart-status></aw-smart-status>';
|
||||
}
|
||||
else {
|
||||
html += BuildLink({
|
||||
list: list,
|
||||
|
||||
Reference in New Issue
Block a user