From 0666b644be37899217d64c75e1a610b0a0de1724 Mon Sep 17 00:00:00 2001
From: Martin Renvoize
Date: Sun, 8 Mar 2020 08:39:40 +0000
Subject: [PATCH] Bug 24402: About template corrections
With the 20.05 team we introduced and expanded some roles. This patch
adds support for:
* removal of the release maintainer for development releases
* a list of documentation managers
* a list of packaging manager
Signed-off-by: Michal Denar
Signed-off-by: Katrin Fischer
Signed-off-by: Martin Renvoize
---
.../prog/en/includes/about-team.inc | 32 +++++++++++++++----
1 file changed, 26 insertions(+), 6 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/about-team.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/about-team.inc
index d32bfcad61..cc43e519c1 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/about-team.inc
+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/about-team.inc
@@ -69,13 +69,13 @@
currently installed Koha version. They will be in these roles up until [% t.release_date | $KohaDates %], when the next
team will be elected.
- Release maintainer:
- [% FOREACH m IN t.maintainer %]
- [% IF m.version == ( v ) %]
+ [% FOREACH m IN t.maintainer %]
+ [% IF m.version == ( v ) %]
+ Release maintainer:
[% INCLUDE person p=m %]
- [% END %]
- [% END %]
-
+
+ [% END %]
+ [% END %]
[% IF t.maintainer_assistants %]
[% FOREACH m IN t.maintainer_assistants %]
@@ -111,9 +111,19 @@
[% END %]
[% IF t.documentation %]
+ [%- IF t.documentation.list.size == 1 %]
Documentation manager:
[% INCLUDE person p=t.documentation %]
+ [% ELSE %]
+ Documentation managers:
+
+ [% FOREACH doc_manager IN t.documentation %]
+ - [% INCLUDE person p=doc_manager %]
+ [% END %]
+
+
+ [% END %]
[% END %]
[% IF t.documentation_team %]
@@ -133,9 +143,19 @@
[% END %]
[% IF t.packaging %]
+ [%- IF t.packaging.list.size == 1 %]
Packaging manager:
[% INCLUDE person p=t.packaging %]
+ [% ELSE %]
+ Packaging managers:
+
+ [% FOREACH packaging_manager IN t.packaging %]
+ - [% INCLUDE person p=packaging_manager %]
+ [% END %]
+
+
+ [% END %]
[% END %]
[% IF t.ci %]
--
2.39.5