Adds ballot sheets controller and main views

This commit is contained in:
María Checa
2018-06-21 18:09:50 +02:00
committed by Javi Martín
parent 3ccdf039e4
commit ccf8d3a8e2
14 changed files with 275 additions and 9 deletions

View File

@@ -61,6 +61,9 @@ en:
poll/officer:
one: "officer"
other: "officers"
poll/ballot_sheet:
one: Ballot sheet
other: Ballot sheets
proposal:
one: "Citizen proposal"
other: "Citizen proposals"
@@ -208,6 +211,10 @@ en:
external_url: "Link to additional documentation"
poll/question/translation:
title: "Question"
poll/ballot_sheet:
data: CSV data
poll_id: Poll
officer_assignment_id: Officer assignment
signature_sheet:
signable_type: "Signable type"
signable_id: "Signable ID"

View File

@@ -16,6 +16,20 @@ en:
no_polls: You are not officing final recounts in any active poll
select_poll: Select poll
add_results: Add results
poll_budgets:
see_ballot_sheets: See ballot sheets list
index:
title: "%{poll_budget} - Ballot sheets list"
ballot_sheet_name: Name
ballot_sheet_author: Author
ballot_sheet_creation_date: Creation date
empty_results: There are no ballot sheets for this poll yet
new:
title: "%{poll_budget} - New ballot sheet"
booth: Booth
select_booth: Select booth
csv_data: CSV data
submit: Save
booth:
new:
title: "Choose your booth"

View File

@@ -61,6 +61,9 @@ es:
poll/officer:
one: "presidente de mesa"
other: "presidentes de mesa"
poll/ballot_sheet:
one: Papeleta de votación
other: Papeletas de votación
proposal:
one: "Propuesta ciudadana"
other: "Propuestas ciudadanas"
@@ -208,6 +211,10 @@ es:
external_url: "Enlace a documentación adicional"
poll/question/translation:
title: "Pregunta"
poll/ballot_sheet:
data: Datos de CSV
poll_id: Votación
officer_assignment_id: Turno
signature_sheet:
signable_type: "Tipo de hoja de firmas"
signable_id: "ID Propuesta ciudadana/Proyecto de gasto"

View File

@@ -16,6 +16,20 @@ es:
no_polls: No tienes permiso para recuento final en ninguna votación reciente
select_poll: Selecciona votación
add_results: Añadir resultados
poll_budgets:
see_ballot_sheets: Ver lista de papeletas de votación
index:
title: "%{poll_budget} - Listado de papeletas de votación"
ballot_sheet_name: Nombre
ballot_sheet_author: Autor
ballot_sheet_creation_date: Fecha de creación
empty_results: Aún no se han subido papeletas de votación
new:
title: "%{poll_budget} - Nueva papeleta de votación"
booth: Urna
select_booth: Elegir urna
csv_data: Datos de CSV
submit: Guardar
booth:
new:
title: "Escoge tu urna"