From 122115c0bad966972329822d5b0fea60b95a87ca 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 000000000..408f0fca6 --- /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 0069a9fba..e463ad9eb 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 a7076d75f..74d4308b9 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}}