election_day.views.vote.entities

Functions

view_vote_entities(→ onegov.core.types.RenderData)

" The main view (proposal).

view_vote_entities_proposal(→ onegov.core.types.RenderData)

" The main view (proposal).

view_vote_entities_counter_proposal(...)

" The main view (counter-proposal).

view_vote_entities_tie_breaker(...)

" The main view (tie-breaker).

view_vote_entities_map_proposal(→ webob.response.Response)

A static link to the map of the proposal.

view_vote_entities_map_counter_proposal(...)

A static link to the map of the counter proposal.

view_vote_entities_map_tie_breaker(...)

A static link to the map of the tie breaker.

view_ballot_by_entity(→ onegov.core.types.JSON_ro)

Returns the data for the ballot map.

view_ballot_entities_as_map(→ onegov.core.types.RenderData)

" View the results of the entities of ballot as map.

view_ballot_as_table(→ onegov.core.types.RenderData)

" View the results of the entities of ballot as table.

view_vote_entities_table_proposal(...)

A static link to the table by entities of the proposal.

view_vote_entities_table_counter_proposal(...)

A static link to the table by entities of the counter proposal.

view_vote_entities_table_tie_breaker(...)

A static link to the table of the tie breaker.

view_ballot_entities_svg(→ onegov.core.types.RenderData)

Download the results of the entities of ballot as a SVG.

Module Contents

election_day.views.vote.entities.view_vote_entities(self: onegov.election_day.models.Vote, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

“ The main view (proposal).

election_day.views.vote.entities.view_vote_entities_proposal(self: onegov.election_day.models.Vote, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

“ The main view (proposal).

election_day.views.vote.entities.view_vote_entities_counter_proposal(self: onegov.election_day.models.Vote, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

“ The main view (counter-proposal).

election_day.views.vote.entities.view_vote_entities_tie_breaker(self: onegov.election_day.models.Vote, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

“ The main view (tie-breaker).

election_day.views.vote.entities.view_vote_entities_map_proposal(self: onegov.election_day.models.Vote, request: onegov.election_day.request.ElectionDayRequest) webob.response.Response[source]

A static link to the map of the proposal.

election_day.views.vote.entities.view_vote_entities_map_counter_proposal(self: onegov.election_day.models.Vote, request: onegov.election_day.request.ElectionDayRequest) webob.response.Response[source]

A static link to the map of the counter proposal.

election_day.views.vote.entities.view_vote_entities_map_tie_breaker(self: onegov.election_day.models.Vote, request: onegov.election_day.request.ElectionDayRequest) webob.response.Response[source]

A static link to the map of the tie breaker.

election_day.views.vote.entities.view_ballot_by_entity(self: onegov.election_day.models.Ballot, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.JSON_ro[source]

Returns the data for the ballot map.

election_day.views.vote.entities.view_ballot_entities_as_map(self: onegov.election_day.models.Ballot, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

“ View the results of the entities of ballot as map.

election_day.views.vote.entities.view_ballot_as_table(self: onegov.election_day.models.Ballot, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

“ View the results of the entities of ballot as table.

election_day.views.vote.entities.view_vote_entities_table_proposal(self: onegov.election_day.models.Vote, request: onegov.election_day.request.ElectionDayRequest) webob.response.Response[source]

A static link to the table by entities of the proposal.

election_day.views.vote.entities.view_vote_entities_table_counter_proposal(self: onegov.election_day.models.Vote, request: onegov.election_day.request.ElectionDayRequest) webob.response.Response[source]

A static link to the table by entities of the counter proposal.

election_day.views.vote.entities.view_vote_entities_table_tie_breaker(self: onegov.election_day.models.Vote, request: onegov.election_day.request.ElectionDayRequest) webob.response.Response[source]

A static link to the table of the tie breaker.

election_day.views.vote.entities.view_ballot_entities_svg(self: onegov.election_day.models.Ballot, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

Download the results of the entities of ballot as a SVG.