From 4739f6d9e5ede406765197f9573f97727da000cc Mon Sep 17 00:00:00 2001 From: Noah Talerman <47070608+noahtalerman@users.noreply.github.com> Date: Mon, 15 Jan 2024 09:24:09 -0500 Subject: [PATCH] Update copy for scripts status tooltip (#16089) - Add period after parentheses. First word in the "time-ago" timestamp is always lowercase. --- .../Scripts/components/ScriptStatusCell/ScriptStatusCell.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/pages/hosts/details/cards/Scripts/components/ScriptStatusCell/ScriptStatusCell.tsx b/frontend/pages/hosts/details/cards/Scripts/components/ScriptStatusCell/ScriptStatusCell.tsx index 2998198c18..0f8dbfd535 100644 --- a/frontend/pages/hosts/details/cards/Scripts/components/ScriptStatusCell/ScriptStatusCell.tsx +++ b/frontend/pages/hosts/details/cards/Scripts/components/ScriptStatusCell/ScriptStatusCell.tsx @@ -25,7 +25,7 @@ const STATUS_DISPLAY_CONFIG: Record< displayText: "Ran", iconStatus: "success", tooltip: (executedAt) => - `Script ran and exited with exit code 0. (${executedAt} ago)`, + `Script ran and exited with exit code 0 (${executedAt} ago).`, }, pending: { displayText: "Pending", @@ -37,7 +37,7 @@ const STATUS_DISPLAY_CONFIG: Record< displayText: "Error", iconStatus: "error", tooltip: (executedAt) => - `Script ran and exited with a non-zero exit code. (${executedAt} ago)`, + `Script ran and exited with a non-zero exit code (${executedAt} ago).`, }, };