2c297994e0
Now that we allow an election to close with one or more leaderless projects it's worth tracking that on the results page. Change-Id: Ie6a5ae8302dcd3ef9645067ba5d7f7bbd1c451f7
66 lines
1.7 KiB
Django/Jinja
66 lines
1.7 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 %}
|
|
|
|
{% if leaderless|length %}
|
|
Leaderless Projects
|
|
===================
|
|
{% for project in leaderless|sort %}
|
|
|
|
* {{ project }}
|
|
{% endfor %}
|
|
{% 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 %}
|