First smart status commit with new files

the smart status folder and main, controller, and directive
This commit is contained in:
Jared Tabor
2015-03-02 11:07:13 -05:00
parent 36a596b68f
commit 43dcd84fa7
14 changed files with 3238 additions and 13 deletions

View File

@@ -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,