election/doc/source/_exts/combined.jinja

18 lines
687 B
Django/Jinja

{{ election.capitalize() }} TC Candidates
{{ '=' * (election|length) }}==============
{% for candidate in candidates['TC'] %}
* `{{ candidate['fullname'] }} {% if candidate['ircname'] is not none %}({{ candidate['ircname'] }}){% endif %} <{{ candidate['url'] }}>`__
{% endfor %}
{{ election.capitalize() }} PTL Candidates
{{ '=' * (election|length) }}===============
{% 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 %}