Merge pull request #99 from joefiorini/inventory-remove-checkbox

Remove checkbox on inventory list for enabling/disabling
This commit is contained in:
Joe Fiorini
2015-03-11 14:42:04 -04:00
6 changed files with 30 additions and 18 deletions

View File

@@ -336,6 +336,7 @@ angular.module('GeneratorHelpers', [systemStatus.name])
html = "<td class=\"" + fld + "-column";
html += (field.columnClass) ? " " + field.columnClass : "";
html += (field.columnNgClass) ? "\" ng-class=\"" + field.columnNgClass : "";
html += "\">\n";
html += "<a ng-href=\"" + field.ngHref + "\" aw-tool-tip=\"" + field.awToolTip + "\"";
html += (field.dataPlacement) ? " data-placement=\"" + field.dataPlacement + "\"" : "";
@@ -595,7 +596,7 @@ angular.module('GeneratorHelpers', [systemStatus.name])
html += " " + field.columnClass;
}
html += "\" ";
html += (field.ngClass) ? Attr(field, 'ngClass') : "";
html += field.columnNgClass ? " ng-class=\"" + field.columnNgClass + "\"": "";
html += (options.mode === 'lookup' || options.mode === 'select') ? " ng-click=\"toggle_" + list.iterator +
"(" + list.iterator + ".id)\"" : "";
html += (field.columnShow) ? Attr(field, 'columnShow') : "";