{% extends "base.html" %} {%block tag %}{{tag}}{% endblock %} {% macro render_elections(election_list, title) -%}
Election | Start date (UTC) | End date (UTC) | Status | |
---|---|---|---|---|
{{ election.shortdesc }} | {{ election.start_date }} | {{ election.end_date }} | {{ election.status }} | {% if election.status == "In progress" %} {% if election not in voted %} {% if election.voting_type == 'range' %} {% elif election.voting_type == 'simple' %} {% endif %} Vote now! {% endif %} {% endif %} |
The Fedora project is a community driven project. It has a number of steering commities whose responsabilities is to drive the project forward.
These committies are elected among volunteers of the community and by the community members. The present application is meant to held these elections.
{% endif %} {% if cur_elections %} {{ render_elections(cur_elections, 'Current elections') }} {% endif %} {% if next_elections %} {{ render_elections(next_elections, 'Next %s elections' % (next_elections|length)) }} {% endif %} {% if prev_elections %} {{ render_elections(prev_elections, 'Last %s elections' % (prev_elections|length)) }} {% endif %} {% endblock %}