election/doc/source/_exts/tc.jinja
Tristan Cacqueray 1fbae32077 Make sure candidate names are properly capitalized
Change-Id: I3f7ef0571f0b598739dea22d9a9bfd37603bd7af
2015-09-11 11:03:11 -04:00

7 lines
261 B
Django/Jinja

{{ election.capitalize() }} TC Candidates
======================
{% for candidate in candidates['TC'] %}
* `{{ candidate.split('/')[-1][:-4].replace('_', ' ').title() }} <http://git.openstack.org/cgit/openstack/election/plain/{{ candidate }}>`_
{% endfor %}