Show policy in effect banner for password generator (#472)

* Show Password Generator Policy in effect banner

* Extra character cleanup

* Updated back to base setUrls

* Updated app-callout class to info
This commit is contained in:
Vincent Salucci 2020-02-28 13:48:48 -06:00 committed by GitHub
parent 2877b3c63d
commit 5c492f893b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -1,6 +1,9 @@
<div class="page-header">
<h1>{{'passwordGenerator' | i18n}}</h1>
</div>
<app-callout type="info" *ngIf="hasPolicyInEffect()">
{{'passwordGeneratorPolicyInEffect' | i18n}}
</app-callout>
<div class="card card-password bg-light my-4">
<div class="card-body">
<div class="password-wrapper" [innerHTML]="password | colorPassword" appSelectCopy></div>

View File

@ -2977,5 +2977,8 @@
},
"passwordGeneratorPolicyDesc": {
"message": "Set minimum requirements for password generator configuration."
},
"passwordGeneratorPolicyInEffect": {
"message": "One or more organization policies are affecting your generator settings."
}
}