mirror of
https://github.com/ansible/awx.git
synced 2026-01-16 12:20:45 -03:30
tried adding ngHide to a column in generator-helpers
while unsuccessful, I think something like this is going to be necessary for getting the portal job templates widget right. I'll revisit later
This commit is contained in:
parent
b224f0abce
commit
68e6af0a09
@ -582,6 +582,9 @@ angular.module('GeneratorHelpers', [])
|
||||
// Add ngShow
|
||||
html += (field.ngShow) ? "<span " + Attr(field, 'ngShow') + ">" : "";
|
||||
|
||||
//Add ngHide
|
||||
//html += (field.ngHide) ? "<span " + Attr(field, 'ngHide') + ">" : "";
|
||||
|
||||
// Badge
|
||||
if (options.mode !== 'lookup' && (field.badges || (field.badgeIcon && field.badgePlacement && field.badgePlacement === 'left'))) {
|
||||
html += Badge(field);
|
||||
@ -661,6 +664,9 @@ angular.module('GeneratorHelpers', [])
|
||||
// close ngShow
|
||||
html += (field.ngShow) ? "</span>" : "";
|
||||
|
||||
//close ngHide
|
||||
//html += (field.ngHide) ? "</span>" : "";
|
||||
|
||||
// Specific to Job Events page -showing event detail/results
|
||||
html += (field.appendHTML) ? "<div ng-show=\"" + field.appendHTML + " !== null\" " +
|
||||
"ng-bind-html=\"" + field.appendHTML + "\" " +
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user