Add Governance link to PTL results

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>
This commit is contained in:
Sean McGinnis 2019-10-24 12:40:24 -05:00
parent 25db1f4dba
commit 2a571dec4d
No known key found for this signature in database
GPG Key ID: CE7EE4BFAF8D70C8

View File

@ -3,6 +3,11 @@
{{ 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('_', ' ') }}
@ -26,17 +31,21 @@
.. [#IncumbentPTL] Incumbent PTL
{% endif %}
Results
-------
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 %}
{{ election.capitalize() }} PTL Candidates
======================
PTL Candidates
==============
{% for project in projects|sort %}
* {{ project.replace('_', ' ') }}