From c9292a940276bb03a03c251a1b59c7373b123d0e Mon Sep 17 00:00:00 2001 From: Volker Theile Date: Mon, 23 Oct 2023 16:06:33 +0200 Subject: [PATCH] Make explicit description for default retention for buckets Fixes: https://github.com/aquarist-labs/s3gw/issues/748 Signed-off-by: Volker Theile --- .../bucket/bucket-form-page/bucket-form-page.component.ts | 4 +++- .../bucket/bucket-form-page/bucket-form-page.component.ts | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/frontend/src/app/pages/admin/bucket/bucket-form-page/bucket-form-page.component.ts b/src/frontend/src/app/pages/admin/bucket/bucket-form-page/bucket-form-page.component.ts index 9a7b886e..7237a338 100644 --- a/src/frontend/src/app/pages/admin/bucket/bucket-form-page/bucket-form-page.component.ts +++ b/src/frontend/src/app/pages/admin/bucket/bucket-form-page/bucket-form-page.component.ts @@ -248,7 +248,9 @@ export class BucketFormPageComponent implements OnInit, IsDirty { type: 'checkbox', name: 'retention_enabled', label: TEXT('Retention'), - hint: TEXT('Prevent object deletion for a period of time.'), + hint: TEXT( + 'Prevent object deletion for a period of time. The settings are applied to any object for which no explicit retention mode is specified.' + ), value: false, modifiers: [ { diff --git a/src/frontend/src/app/pages/user/bucket/bucket-form-page/bucket-form-page.component.ts b/src/frontend/src/app/pages/user/bucket/bucket-form-page/bucket-form-page.component.ts index 33b1f42d..61de47ae 100644 --- a/src/frontend/src/app/pages/user/bucket/bucket-form-page/bucket-form-page.component.ts +++ b/src/frontend/src/app/pages/user/bucket/bucket-form-page/bucket-form-page.component.ts @@ -228,7 +228,9 @@ export class BucketFormPageComponent implements OnInit, IsDirty { type: 'checkbox', name: 'RetentionEnabled', label: TEXT('Retention'), - hint: TEXT('Prevent object deletion for a period of time.'), + hint: TEXT( + 'Prevent object deletion for a period of time. The settings are applied to any object for which no explicit retention mode is specified.' + ), value: false, modifiers: [ {