Ensure PTL candidate list is sorted

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>
This commit is contained in:
Sean McGinnis 2019-03-08 11:38:22 -06:00
parent ce39e496ba
commit b361ebf49d
No known key found for this signature in database
GPG Key ID: CE7EE4BFAF8D70C8

View File

@ -1,6 +1,6 @@
{{ election.capitalize() }} PTL Candidates
======================
{% for project in projects %}{% if project != 'TC' %}
{% for project in projects|sort %}{% if project != 'TC' %}
* {{ project.replace('_', ' ') }}
{% for candidate in candidates[project] %}