2a571dec4d
This adds a link to the official TC project list to the PTL election results page to help anyone looking for current information to find the current source of truth. Also cleans up some things like emitting some text when there were no actual elections like in Ussuri. Change-Id: Idaa64cc2e592931ec601e01250f14bf713aaf143 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
58 lines
1.6 KiB
Django/Jinja
58 lines
1.6 KiB
Django/Jinja
{% for i in range(election|length + 4) %}={% endfor%}
|
|
|
|
{{ election.capitalize() }} PTL
|
|
{% for i in range(election|length + 4) %}={% endfor%}
|
|
|
|
`Current list of all projects and PTLs
|
|
<https://governance.openstack.org/tc/reference/projects/>`_
|
|
|
|
Elected PTLs
|
|
============
|
|
|
|
{% for project in projects|sort %}
|
|
* {{ project.replace('_', ' ') }}
|
|
|
|
{% for candidate in candidates[project] %}{% if candidate['elected'] and 'url' in candidate %}
|
|
* `{{ candidate['fullname'] }} {% if candidate['ircname'] is not none %}({{ candidate['ircname'] }}){% endif %} <{{ candidate['url'] }}>`__
|
|
{% elif candidate['elected'] == 'LEADERLESS' %}
|
|
* {{ candidate['statement'] }}
|
|
{% elif candidate['elected'] %}
|
|
* {{ candidate['fullname'] }} (\{{ candidate['ircname'] }}) {% if candidate['elected'] == 'INCUMBENT-PTL' %}[#IncumbentPTL]_{% else %}[#TCAppointed]_{% endif %}
|
|
|
|
{% endif %}
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
|
|
|
{% if 'TC-APPOINTED' in tags %}
|
|
.. [#TCAppointed] By TC Appointment
|
|
{% endif %}
|
|
{% if 'INCUMBENT-PTL' in tags %}
|
|
.. [#IncumbentPTL] Incumbent PTL
|
|
{% endif %}
|
|
|
|
Election Results
|
|
================
|
|
{% if elections_results|length %}
|
|
{% for project in projects|sort %}{% if project in elections_results %}
|
|
|
|
* `{{ project }} <{{ elections_results[project] }}>`_
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% else %}
|
|
No elections were necessary.
|
|
{% endif %}
|
|
|
|
|
|
PTL Candidates
|
|
==============
|
|
|
|
{% for project in projects|sort %}
|
|
* {{ project.replace('_', ' ') }}
|
|
|
|
{% for candidate in candidates[project] %}{% if 'url' in candidate %}
|
|
* `{{ candidate['fullname'] }} ({{ candidate['ircname'] }}) <{{ candidate['url'] }}>`__
|
|
{% endif %}{% endfor %}
|
|
|
|
{% endfor %}
|