mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 04:31:21 -03:30
UI Automation
Added ID attribute to sublist action items. For example, the users list on the Organization detail page. Each of the action icons for each user row now has an ID attribute.
This commit is contained in:
parent
4e4b5852cb
commit
264ad62db0
@ -1489,7 +1489,7 @@ angular.module('FormGenerator', ['GeneratorHelpers', 'Utilities', 'ListGenerator
|
||||
html += "<td class=\"actions\">";
|
||||
for (act in collection.fieldActions) {
|
||||
fAction = collection.fieldActions[act];
|
||||
html += "<a ";
|
||||
html += "<a id=\"" + ((fAction.id) ? fAction.id : act + "-action") + "\" ";
|
||||
html += (fAction.href) ? "href=\"" + fAction.href + "\" " : "";
|
||||
html += (fAction.ngClick) ? this.attr(fAction, 'ngClick') : "";
|
||||
html += (fAction.ngHref) ? this.attr(fAction, 'ngHref') : "";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user