From dbcbcb444355835b1bc29ccf0cf1a1bf53b12534 Mon Sep 17 00:00:00 2001 From: Louis Kirkham Date: Thu, 10 Oct 2024 15:58:04 +0100 Subject: [PATCH 1/2] chore: Update media pack links for award years Signed-off-by: Louis Kirkham --- app/views/group_leader/dashboard/index.html.slim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/group_leader/dashboard/index.html.slim b/app/views/group_leader/dashboard/index.html.slim index 2cccee001..fb0578818 100644 --- a/app/views/group_leader/dashboard/index.html.slim +++ b/app/views/group_leader/dashboard/index.html.slim @@ -67,13 +67,13 @@ .govuk-details__text ul.govuk-list li - = link_to "The King's Award for Voluntary Service awardees' media pack 2023", - "https://storage.googleapis.com/emblem-files-and-guidance/Media%20pack%20for%20KAVS%20Awardees%202023.pdf", + = link_to "The King's Award for Voluntary Service awardees' media pack #{@award_year.year}", + "https://storage.googleapis.com/emblem-files-and-guidance/Media%20pack%20for%20#{@award_year.year >= 2023 ? "KAVS" : "QAVS"}%20Awardees%20#{@award_year.year}.pdf", rel: "noreferrer noopener", target: :_blank li = link_to "The King's Award for Voluntary Service media pack materials", - "https://storage.googleapis.com/emblem-files-and-guidance/KAVS%202023%20Media%20Pack%20Materials.pptx", + "https://storage.googleapis.com/emblem-files-and-guidance/#{@award_year.year >= 2023 ? "KAVS" : "QAVS"}%20#{@award_year.year}%20Media%20Pack%20Materials.pptx", rel: "noreferrer noopener", target: :_blank li From 9488c0a29279457642c0371ae36a87b25c358bf9 Mon Sep 17 00:00:00 2001 From: Louis Kirkham Date: Thu, 10 Oct 2024 15:59:13 +0100 Subject: [PATCH 2/2] chore: Update date range in group leader dashboard Signed-off-by: Louis Kirkham --- app/views/group_leader/dashboard/index.html.slim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/group_leader/dashboard/index.html.slim b/app/views/group_leader/dashboard/index.html.slim index fb0578818..e905c1966 100644 --- a/app/views/group_leader/dashboard/index.html.slim +++ b/app/views/group_leader/dashboard/index.html.slim @@ -99,7 +99,7 @@ h3.govuk-heading-s | Mid December =<> @award_year.year - | - April + | to April =<> @award_year.year + 1 | — Lord-Lieutenant presents the Award p.govuk-body