ebc5590769
With warnings treated as errors in the docs build, when the cycle name size varies it results in an error with the RST title line length not matching the text length. Change-Id: Ic5da3fd11c98c1da869fe9cd9d7d285a36222236 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
18 lines
687 B
Django/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 %}
|