b361ebf49d
Current ordering of projects is random. This updates the template to make sure they are always in alphabetical order. Change-Id: I9b9526e3a5ddd42545a086b4b7a0fe03923915ed Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
11 lines
384 B
Django/Jinja
11 lines
384 B
Django/Jinja
{{ election.capitalize() }} PTL Candidates
|
|
======================
|
|
{% for project in projects|sort %}{% if project != 'TC' %}
|
|
* {{ project.replace('_', ' ') }}
|
|
|
|
{% for candidate in candidates[project] %}
|
|
* `{{ candidate['fullname'] }} {% if candidate['ircname'] is not none %}({{ candidate['ircname'] }}){% endif %} <{{ candidate['url'] }}>`__
|
|
{% endfor %}
|
|
|
|
{% endif %}{% endfor %}
|