c6406fdbd5
This type is for when TC and PTL elections must overlap. There is a built in assumption that each "phase" of an election: - Nominations - Campaigning - Election are completely synchronous NOTE: This change leaves the template-emails broken, as I do not add new functions for combined_$email. This is because I'd like to If64c075b4a799574bc51ccd13019d472ee9a4b0e merge first, and I'd also like to avoid to many rebases Change-Id: Id39c50e71dc91bea8034ce443287463094e2f37f
18 lines
644 B
Django/Jinja
18 lines
644 B
Django/Jinja
{{ election.capitalize() }} TC Candidates
|
|
======================
|
|
|
|
{% for candidate in candidates['TC'] %}
|
|
* `{{ candidate['fullname'] }} {% if candidate['ircname'] is not none %}({{ candidate['ircname'] }}){% endif %} <{{ candidate['url'] }}>`__
|
|
{% endfor %}
|
|
|
|
{{ 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 %}
|