@if (loading) {

Loading elections...

} @else if (elections.length === 0) {
how_to_vote

No elections found

Create a new election to get started.

Create Election
} @else {
{{ elections.length }} Total Elections
{{ countByStatus('ACTIVE') }} Active
{{ countByStatus('VOTING_OPEN') }} Voting Open
{{ countByStatus('RESULT_DECLARED') }} Completed
@for (election of elections; track election.id) {

{{ election.title }}

{{ election.electionType }}
{{ statusLabel(election.status) }}
event_note
Nominations {{ election.nominationStartDate | date: 'dd MMM' }} – {{ election.nominationEndDate | date: 'dd MMM yyyy' }}
how_to_vote
Election Date {{ election.electionDate | date: 'dd MMM yyyy' }}
@if (election.description) {

{{ election.description }}

}
people Nominations person_pin Candidates @if (election.status === 'DRAFT') { } @if (canNominate(election)) { person_add Nominate Member } @if (election.status === 'ACTIVE') { } @if (election.status === 'NOMINATION_CLOSED') { } @if (canVote(election)) { ballot Vote Now } @if (canViewResults(election)) { bar_chart Results }
}
}