From 17347c5ff2b5eca382c3c1ea9fb2f2aa0e198159 Mon Sep 17 00:00:00 2001 From: Karthick Ramachandran Date: Thu, 24 Mar 2022 13:38:43 -0700 Subject: [PATCH] make stop job message clearer (#12252) --- .changelog/12252.txt | 3 +++ ui/app/templates/allocations/allocation/index.hbs | 12 ++++++------ .../templates/allocations/allocation/task/index.hbs | 4 ++-- ui/app/templates/clients/client/index.hbs | 2 +- .../components/job-page/parts/latest-deployment.hbs | 2 +- ui/app/templates/components/job-page/parts/title.hbs | 8 ++++---- ui/app/templates/components/job-version.hbs | 4 ++-- 7 files changed, 19 insertions(+), 16 deletions(-) create mode 100644 .changelog/12252.txt diff --git a/.changelog/12252.txt b/.changelog/12252.txt new file mode 100644 index 000000000000..408f0fca6a0c --- /dev/null +++ b/.changelog/12252.txt @@ -0,0 +1,3 @@ +```release-note:improvement +ui: make buttons with confirmation more descriptive of their actions +``` diff --git a/ui/app/templates/allocations/allocation/index.hbs b/ui/app/templates/allocations/allocation/index.hbs index 0069a9fba85a..e463ad9eba62 100644 --- a/ui/app/templates/allocations/allocation/index.hbs +++ b/ui/app/templates/allocations/allocation/index.hbs @@ -42,9 +42,9 @@ @@ -28,9 +28,9 @@ diff --git a/ui/app/templates/components/job-version.hbs b/ui/app/templates/components/job-version.hbs index a7076d75f905..74d4308b90be 100644 --- a/ui/app/templates/components/job-version.hbs +++ b/ui/app/templates/components/job-version.hbs @@ -17,9 +17,9 @@ idleButton="is-warning is-outlined" confirmButton="is-warning"}} @alignRight={{true}} - @idleText="Revert" + @idleText="Revert Version" @cancelText="Cancel" - @confirmText="Yes, Revert" + @confirmText="Yes, Revert Version" @confirmationMessage="Are you sure you want to revert to this version?" @inlineText={{true}} @fadingBackground={{true}}