diff --git a/ui/app/components/database-connection.js b/ui/app/components/database-connection.js index 420b83f1f360..060a7702b2fa 100644 --- a/ui/app/components/database-connection.js +++ b/ui/app/components/database-connection.js @@ -73,15 +73,15 @@ export default class DatabaseConnectionEdit extends Component { } @action - continueWithoutRotate(evt) { - evt.preventDefault(); + continueWithoutRotate() { + this.showSaveModal = false; const { name } = this.args.model; this.transitionToRoute(SHOW_ROUTE, name); } @action - continueWithRotate(evt) { - evt.preventDefault(); + continueWithRotate() { + this.showSaveModal = false; const { backend, name } = this.args.model; this.rotateCredentials(backend, name) .then(() => { diff --git a/ui/app/components/policy-form.hbs b/ui/app/components/policy-form.hbs index ba38262433c1..db18e2c0f86d 100644 --- a/ui/app/components/policy-form.hbs +++ b/ui/app/components/policy-form.hbs @@ -23,11 +23,24 @@ {{/if}}
- More information about
- {{uppercase @model.policyType}}
- policies can be found
-
- This export will include the namespace path, authentication method path, and the associated total, entity, and - non-entity clients for the below - {{if this.formattedEndDate "date range" "month"}}. -
-SELECTED DATE {{if this.formattedEndDate " RANGE"}}
-{{this.formattedStartDate}} {{if this.formattedEndDate "-"}} {{this.formattedEndDate}}
-+ This export will include the namespace path, authentication method path, and the associated total, entity, and + non-entity clients for the below + {{if this.formattedEndDate "date range" "month"}}. +
+SELECTED DATE {{if this.formattedEndDate " RANGE"}}
++ {{this.formattedStartDate}} + {{if this.formattedEndDate "-"}} + {{this.formattedEndDate}}
+{{@upgradeExplanation}}
+- Vault will start tracking data starting from today’s date, - {{date-format (now) "MMMM d, yyyy"}}. If you’ve previously enabled usage tracking, that historical data will still - be available to you. -
- {{else}} -- Turning usage tracking off means that all data for the current month will be deleted. You will still be able to - query previous months. -
-Are you sure?
- {{/if}} -+ Vault will start tracking data starting from today’s date, + {{date-format (now) "MMMM d, yyyy"}}. If you’ve previously enabled usage tracking, that historical data will + still be available to you. +
+ {{else}} ++ Turning usage tracking off means that all data for the current month will be deleted. You will still be able to + query previous months. +
+Are you sure?
+ {{/if}} +- It’s best practice to rotate the root credential immediately after the initial configuration of each database. Once - rotated, - only Vault knows the new root password. -
-Would you like to rotate your new credentials? You can also do this later.
-+ It’s best practice to rotate the root credential immediately after the initial configuration of each database. Once + rotated, + only Vault knows the new root password. +
+Would you like to rotate your new credentials? You can also do this later.
+
+
Timestamp
-- {{or this.timestamp "Not available"}} -
-Error
- {{#if this.error}} -
- {{this.error}}
-
- {{else}}
-
- Not available
+{{#if this.showModal}}
+ Timestamp
+ {{or this.timestamp "Not available"}}
Additional information Check the logs for more information
Error
+ {{#if this.error}} +
+ {{this.error}}
+
+ {{else}}
+ + Not available +
+ {{/if}} +Additional information
+Check the logs for more information
+