mirror of
https://github.com/ansible/awx.git
synced 2026-01-16 04:10:44 -03:30
Set white-space style based on customLoginInfoIsHTML
Signed-off-by: Philip Douglass <philip.douglass@amadeus.com>
This commit is contained in:
parent
202a68aca0
commit
4c98a1cb20
@ -98,7 +98,12 @@
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<div id="login_modal_notice" class="LoginModalNotice" ng-if="customLoginInfoPresent"><div class="LoginModalNotice-title" translate>NOTICE</div>{{ customLoginInfo | sanitize }}</div>
|
||||
<div id="login_modal_notice" class="LoginModalNotice" ng-if="customLoginInfoPresent">
|
||||
<div class="LoginModalNotice-title" translate>NOTICE</div>
|
||||
<ng-bind-html ng-bind-html="customLoginInfo"
|
||||
ng-style="{'white-space' : customLoginInfoIsHTML ? 'initial' : 'pre-wrap'}">
|
||||
</ng-bind-html>
|
||||
</div>
|
||||
</div>
|
||||
<div class="LoginModal-footer">
|
||||
<div class="LoginModal-footerBlock">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user