mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 23:51:09 +03:00
UI Automation Assistance
Added PK as the ID to all <tr> elements.
This commit is contained in:
parent
b5d3472c30
commit
c499515333
@ -1586,7 +1586,8 @@ angular.module('FormGenerator', ['GeneratorHelpers', 'Utilities', 'ListGenerator
|
|||||||
html += "</thead>";
|
html += "</thead>";
|
||||||
html += "<tbody>\n";
|
html += "<tbody>\n";
|
||||||
|
|
||||||
html += "<tr ng-repeat=\"" + collection.iterator + " in " + itm + "\" >\n";
|
html += "<tr ng-repeat=\"" + collection.iterator + " in " + itm + "\" ";
|
||||||
|
html += "id=\"{{ " + collection.iterator + ".id }}\">\n";
|
||||||
if (collection.index === undefined || collection.index !== false) {
|
if (collection.index === undefined || collection.index !== false) {
|
||||||
html += "<td>{{ $index + ((" + collection.iterator + "_page - 1) * " +
|
html += "<td>{{ $index + ((" + collection.iterator + "_page - 1) * " +
|
||||||
collection.iterator + "_page_size) + 1 }}.</td>\n";
|
collection.iterator + "_page_size) + 1 }}.</td>\n";
|
||||||
|
@ -310,6 +310,7 @@ angular.module('ListGenerator', ['GeneratorHelpers'])
|
|||||||
html += "<tr ng-class=\"" + list.iterator;
|
html += "<tr ng-class=\"" + list.iterator;
|
||||||
html += (options.mode === 'lookup' || options.mode === 'select') ? ".success_class" : ".active_class";
|
html += (options.mode === 'lookup' || options.mode === 'select') ? ".success_class" : ".active_class";
|
||||||
html += "\" ";
|
html += "\" ";
|
||||||
|
html += "id=\"{{ " + list.iterator + ".id }}\" ";
|
||||||
html += "class=\"" + list.iterator + "_class\" ";
|
html += "class=\"" + list.iterator + "_class\" ";
|
||||||
html += "ng-repeat=\"" + list.iterator + " in " + list.name;
|
html += "ng-repeat=\"" + list.iterator + " in " + list.name;
|
||||||
html += (list.orderBy) ? " | orderBy:'" + list.orderBy + "'" : "";
|
html += (list.orderBy) ? " | orderBy:'" + list.orderBy + "'" : "";
|
||||||
|
Loading…
Reference in New Issue
Block a user