From 08be229c1932a5233d8d2b9c162aad1bb82fe1d5 Mon Sep 17 00:00:00 2001 From: Jamie Carter <9541902+jamiecarter7@users.noreply.github.com> Date: Fri, 7 Aug 2026 16:25:42 +0100 Subject: [PATCH] Improve the language of the tooltip Currently without specifying the time period on the numerator it looks like any visit is selected. The numerator is restricted to the latest visit in the last 12 months. --- .../dashboard/diabetes/dm_prescribed_statins_component.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/dashboard/diabetes/dm_prescribed_statins_component.html.erb b/app/components/dashboard/diabetes/dm_prescribed_statins_component.html.erb index 639d5e8a5f..35212cd0f5 100644 --- a/app/components/dashboard/diabetes/dm_prescribed_statins_component.html.erb +++ b/app/components/dashboard/diabetes/dm_prescribed_statins_component.html.erb @@ -4,7 +4,7 @@ title: "DM patients ≥40y prescribed statins".html_safe, subtitle: "Diabetes patients in #{region.name} ≥40 years old that were prescribed statins at their latest visit in the last 12 months.") do |title| %> <%= title.tooltip({ - "Numerator" => "Patients prescribed statins at their latest visit.", + "Numerator" => "Patients prescribed statins at their latest visit in the last 12 months.", "Denominator" => t(denominator_copy, region_name: region.name) }) %> <%= title.ltfu_toggle(id: 'DMPrescribedStatinsGraphLtfuToggle', enabled: with_ltfu) %>