From 2648c9dfc3440f4c00a7b234de4687cc8a93a4d0 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Mon, 12 Feb 2024 15:47:47 +0000 Subject: Operations list shows ESs for each entity This was about two hours of learning, and getting confused - and it needs to be refactored. We need to be able to generate the list of EPs for the Operation also. At the moment this only prints the object representation. More work to be done writing a method that gives us the id and textual representation for the link in the table. --- ui/html/pages/operations/list.tmpl.html | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'ui/html/pages/operations/list.tmpl.html') diff --git a/ui/html/pages/operations/list.tmpl.html b/ui/html/pages/operations/list.tmpl.html index 7207ab6..2e5a07b 100644 --- a/ui/html/pages/operations/list.tmpl.html +++ b/ui/html/pages/operations/list.tmpl.html @@ -17,7 +17,7 @@ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod Description Organisation Engagement Plan - Engagement Strategy + Engagement Strategies SharePoint @@ -30,7 +30,15 @@ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod {{.Description}} {{.OrganisationName}} EP 2024 - ES 2023-2025 + + {{if .EngagementStrategies}} + {{range .EngagementStrategies}} + {{.}} + {{end}} + {{else}} +

NA

+ {{end}} + Link {{end}} -- cgit v1.2.3