6698ffe6a4
This change improves candidate list rendering using gerrit to retrieve fullname. The list rendering now uses the openstack_election libraries and some part have been refactored accordingly. Change-Id: Iccba3e4c529740758323b51548a2144fc7c77879
11 lines
325 B
Django/Jinja
11 lines
325 B
Django/Jinja
{{ election.capitalize() }} PTL Candidates
|
|
======================
|
|
{% for project in projects %}{% if project != 'TC' %}
|
|
* {{ project.replace('_', ' ') }}
|
|
|
|
{% for candidate in candidates[project] %}
|
|
* `{{ candidate['fullname'] }} ({{ candidate['ircname'] }}) <{{ candidate['url'] }}>`_
|
|
{% endfor %}
|
|
|
|
{% endif %}{% endfor %}
|