Bug 35504: Add full maintainers list into development branch

On a stable branch the current maintainer of your running version is
listed at the top of the current maintanence team.. however when you're
on a development branch the RM is responsible for your branch and the
maintainers were missing from display.

This patch adds the maintainers list back to the bottom of the current
maintanence team section, just for the development branch.

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 7fd998c1e7)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Martin Renvoize 2024-01-10 11:39:15 +00:00 committed by Fridolin Somers
parent 149cc63818
commit 74300e9908

View file

@ -803,6 +803,30 @@
<div class="col-md-6">
<h3>Current maintenance team</h3>
[% INCLUDE team t=maintenance_team v=short_version %]
[% IF development_version %]
<li><strong>Release maintainers:</strong>
<ul>
[% FOREACH m IN maintenance_team.maintainer %]
<li>[% m.version | html %] - [% INCLUDE person p=m %]</li>
[% IF maintenance_team.maintainer_assistants %]
[% FOREACH ma IN maintenance_team.maintainer_assistants %]
[% IF ma.version == ( m.version ) %]
<ul><li><strong>Assistant:</strong> [% INCLUDE person p=ma %]</li></ul>
[% END %]
[% END %]
[% END %]
[% IF maintenance_team.maintainer_mentors %]
[% FOREACH mm IN maintenance_team.maintainer_mentors %]
[% IF m.version == ( mm.version ) %]
<ul><li><strong>Mentor:</strong> [% INCLUDE person p=mm %]</li></ul>
[% END %]
[% END %]
[% END %]
[% END %]
</ul>
</li>
[% END %]
</div>
</div>
[% ELSE %]