election/doc/source/_exts/tc.jinja
Tristan Cacqueray 6698ffe6a4 Use gerrit fullname in list rendering
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
2016-09-12 08:37:13 +00:00

7 lines
208 B
Django/Jinja

{{ election.capitalize() }} TC Candidates
======================
{% for candidate in candidates['TC'] %}
* `{{ candidate['fullname'] }} ({{ candidate['ircname'] }}) <{{ candidate['url'] }}>`_
{% endfor %}