3e808a043d
If a candidate doesn't have an IRC nic we currently display '(None)' where other candidates get '(a_nic)'. While I don't think that people will genuinely confuse 'None' for an IRC nic lets just not include anything in the output. Change-Id: Ic41b89f11bf4473b226bc359529bf408c77ce998
7 lines
259 B
Django/Jinja
7 lines
259 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 %}
|