mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 15:21:13 +03:00
adding ng-if to tabs in order to hide insights tab on host-add-form
This commit is contained in:
parent
ba8326285e
commit
e2d943fd1a
@ -1550,6 +1550,7 @@ angular.module('FormGenerator', [GeneratorHelpers.name, 'Utilities', listGenerat
|
||||
for (itm in this.form.related) {
|
||||
collection = this.form.related[itm];
|
||||
html += "<div id=\"" + itm + "_tab\" ";
|
||||
html += (this.form.related[itm].ngIf) ? ` ng-if="${this.form.related[itm].ngIf}" ` : "";
|
||||
html += collection.awToolTip ? "aw-tool-tip=\"" + collection.awToolTip + "\" aw-tip-placement=\"" + collection.dataPlacement + "\" " : "";
|
||||
html += "data-container=\"body\" tooltipinnerclass=\"StartStatus-tooltip\" data-trigger=\"hover\"" +
|
||||
"class=\"Form-tab Form-tab--disabled\">" + (collection.title || collection.editTitle) +
|
||||
|
Loading…
Reference in New Issue
Block a user