@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 {
{{ totalElements }} Total
{{ countByStatus('ACTIVE') }} Active
{{ countByStatus('VOTING_OPEN') }} Voting Open
{{ countByStatus('RESULT_DECLARED') }} Completed
@for (election of paginatedElections; 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.durationEndDate) {
schedule
Board Active Until {{ election.durationEndDate | 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 (election.status === 'VOTING_OPEN') { edit_note Enter Votes } @if (election.status === 'VOTING_CLOSED') { } @if (canViewResults(election)) { bar_chart Results } history Audit Log
}
@if (totalPages > 1 || totalElements > pageSizeOptions[0]) {
Showing {{ startItem }}–{{ endItem }} of {{ totalElements }}
@for (p of pageNumbers; track $index) { @if (isNumber(p)) { } @else { … } }
} }