diff options
author | Matthew Lemon <y@yulqen.org> | 2024-02-12 15:47:47 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-02-12 15:47:47 +0000 |
commit | 2648c9dfc3440f4c00a7b234de4687cc8a93a4d0 (patch) | |
tree | 3fbeb43c9a8db234198ed1e8793d496d224e10de /ui/html/pages/operations/list.tmpl.html | |
parent | 752ee52dcd487253bc1662b1ba157732f73d27cf (diff) |
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.
Diffstat (limited to 'ui/html/pages/operations/list.tmpl.html')
-rw-r--r-- | ui/html/pages/operations/list.tmpl.html | 12 |
1 files changed, 10 insertions, 2 deletions
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 <th>Description</th> <th>Organisation</th> <th>Engagement Plan</th> - <th>Engagement Strategy</th> + <th>Engagement Strategies</th> <th>SharePoint</th> </tr> </thead> @@ -30,7 +30,15 @@ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod <td>{{.Description}}</td> <td>{{.OrganisationName}}</td> <td><a href="#">EP 2024</a></td> - <td><a href="#">ES 2023-2025</a></td> + <td> + {{if .EngagementStrategies}} + {{range .EngagementStrategies}} + {{.}} + {{end}} + {{else}} + <p>NA</p> + {{end}} + </td> <td><a href="#">Link</a></td> </tr> {{end}} |