decidim-elections 0.24.3 → 0.25.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (433) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +13 -0
  3. data/app/cells/decidim/elections/election_m/tags.erb +3 -0
  4. data/app/cells/decidim/elections/election_m_cell.rb +1 -8
  5. data/app/cells/decidim/elections/election_preview/show.erb +28 -0
  6. data/app/cells/decidim/elections/election_preview_cell.rb +13 -0
  7. data/app/cells/decidim/elections/election_results/blank_votes.erb +7 -0
  8. data/app/cells/decidim/elections/election_results/progress_bar.erb +16 -0
  9. data/app/cells/decidim/elections/election_results/show.erb +40 -0
  10. data/app/cells/decidim/elections/election_results_cell.rb +13 -0
  11. data/app/cells/decidim/elections/election_vote_cta/show.erb +35 -0
  12. data/app/cells/decidim/elections/election_vote_cta_cell.rb +83 -0
  13. data/app/cells/decidim/elections/remaining_time_callout/show.erb +5 -0
  14. data/app/cells/decidim/elections/remaining_time_callout_cell.rb +28 -0
  15. data/app/cells/decidim/elections/voting_step_navigation/show.erb +1 -1
  16. data/app/cells/decidim/elections/voting_step_navigation_cell.rb +1 -1
  17. data/app/cells/decidim/votings/content_blocks/highlighted_votings/show.erb +1 -1
  18. data/app/cells/decidim/votings/content_blocks/landing_page/attachments_and_folders_cell.rb +8 -1
  19. data/app/cells/decidim/votings/content_blocks/landing_page/description/show.erb +25 -0
  20. data/app/cells/decidim/votings/content_blocks/landing_page/description_cell.rb +20 -2
  21. data/app/cells/decidim/votings/content_blocks/landing_page/elections/show.erb +15 -0
  22. data/app/cells/decidim/votings/content_blocks/landing_page/elections/single.erb +11 -0
  23. data/app/cells/decidim/votings/content_blocks/landing_page/elections_cell.rb +33 -1
  24. data/app/cells/decidim/votings/content_blocks/landing_page/header/show.erb +29 -0
  25. data/app/cells/decidim/votings/content_blocks/landing_page/header_cell.rb +95 -2
  26. data/app/cells/decidim/votings/content_blocks/landing_page/header_settings_form/show.erb +4 -0
  27. data/app/cells/decidim/votings/content_blocks/landing_page/{stats_cell.rb → header_settings_form_cell.rb} +5 -3
  28. data/app/cells/decidim/votings/content_blocks/landing_page/metrics/show.erb +12 -0
  29. data/app/cells/decidim/votings/content_blocks/landing_page/metrics_cell.rb +6 -2
  30. data/app/cells/decidim/votings/content_blocks/landing_page/polling_stations/address.erb +14 -0
  31. data/app/cells/decidim/votings/content_blocks/landing_page/polling_stations/map.erb +18 -0
  32. data/app/cells/decidim/votings/content_blocks/landing_page/polling_stations/show.erb +25 -0
  33. data/app/cells/decidim/votings/content_blocks/landing_page/polling_stations_cell.rb +42 -1
  34. data/app/cells/decidim/votings/content_blocks/landing_page/statistics_cell.rb +24 -0
  35. data/app/cells/decidim/votings/content_blocks/landing_page/timeline/show.erb +7 -0
  36. data/app/cells/decidim/votings/content_blocks/landing_page/timeline_cell.rb +4 -2
  37. data/app/cells/decidim/votings/polling_officers/polling_officers_picker/show.erb +1 -1
  38. data/app/cells/decidim/votings/polling_station_closure_certificate/show.erb +9 -0
  39. data/app/cells/decidim/votings/polling_station_closure_certificate_cell.rb +12 -0
  40. data/app/cells/decidim/votings/polling_station_closure_recount/show.erb +74 -0
  41. data/app/cells/decidim/votings/polling_station_closure_recount_cell.rb +9 -0
  42. data/app/cells/decidim/votings/voting_m_cell.rb +2 -2
  43. data/app/commands/decidim/elections/admin/add_user_as_trustee.rb +2 -1
  44. data/app/commands/decidim/elections/admin/create_election.rb +2 -1
  45. data/app/commands/decidim/elections/admin/publish_results.rb +10 -6
  46. data/app/commands/decidim/elections/admin/setup_election.rb +73 -67
  47. data/app/commands/decidim/elections/admin/update_answer_selection.rb +1 -1
  48. data/app/commands/decidim/elections/trustee_zone/update_election_bulletin_board_status.rb +61 -2
  49. data/app/commands/decidim/elections/trustee_zone/update_trustee.rb +3 -0
  50. data/app/commands/decidim/elections/voter/cast_vote.rb +4 -7
  51. data/app/commands/decidim/elections/voter/update_vote_status.rb +23 -7
  52. data/app/commands/decidim/votings/admin/create_ballot_style.rb +58 -0
  53. data/app/commands/decidim/votings/admin/create_voting.rb +2 -1
  54. data/app/commands/decidim/votings/admin/destroy_ballot_style.rb +33 -0
  55. data/app/commands/decidim/votings/admin/monitoring_committee_validate_polling_station_closure.rb +37 -0
  56. data/app/commands/decidim/votings/admin/update_ballot_style.rb +70 -0
  57. data/app/commands/decidim/votings/admin/update_voting.rb +5 -14
  58. data/app/commands/decidim/votings/census/admin/create_dataset.rb +82 -0
  59. data/app/commands/decidim/votings/census/admin/create_datum.rb +55 -0
  60. data/app/commands/decidim/votings/census/admin/destroy_dataset.rb +45 -0
  61. data/app/commands/decidim/votings/census/admin/increment_dataset_processed_rows.rb +43 -0
  62. data/app/commands/decidim/votings/census/admin/launch_access_codes_export.rb +38 -0
  63. data/app/commands/decidim/votings/census/admin/launch_access_codes_generation.rb +44 -0
  64. data/app/commands/decidim/votings/census/admin/update_dataset.rb +51 -0
  65. data/app/commands/decidim/votings/certify_polling_station_closure.rb +46 -0
  66. data/app/commands/decidim/votings/check_census.rb +35 -0
  67. data/app/commands/decidim/votings/create_polling_station_closure.rb +53 -0
  68. data/app/commands/decidim/votings/create_polling_station_results.rb +83 -0
  69. data/app/commands/decidim/votings/send_access_code.rb +48 -0
  70. data/app/commands/decidim/votings/sign_polling_station_closure.rb +41 -0
  71. data/app/commands/decidim/votings/voter/in_person_vote.rb +55 -0
  72. data/app/commands/decidim/votings/voter/update_in_person_vote_status.rb +52 -0
  73. data/app/controllers/concerns/decidim/elections/has_vote_flow.rb +43 -0
  74. data/app/controllers/concerns/decidim/monitoring_committee_polling_station_closures/admin/filterable.rb +72 -0
  75. data/app/controllers/concerns/decidim/votings/needs_voting.rb +5 -5
  76. data/app/controllers/decidim/elections/admin/steps_controller.rb +5 -2
  77. data/app/controllers/decidim/elections/elections_controller.rb +18 -5
  78. data/app/controllers/decidim/elections/feedbacks_controller.rb +37 -3
  79. data/app/controllers/decidim/elections/trustee_zone/elections_controller.rb +15 -1
  80. data/app/controllers/decidim/elections/votes_controller.rb +101 -41
  81. data/app/controllers/decidim/votings/admin/ballot_styles_controller.rb +93 -0
  82. data/app/controllers/decidim/votings/admin/monitoring_committee_election_results_controller.rb +69 -0
  83. data/app/controllers/decidim/votings/admin/monitoring_committee_members_controller.rb +4 -0
  84. data/app/controllers/decidim/votings/admin/monitoring_committee_polling_station_closures_controller.rb +73 -0
  85. data/app/controllers/decidim/votings/admin/monitoring_committee_verify_elections_controller.rb +24 -0
  86. data/app/controllers/decidim/votings/admin/polling_stations_controller.rb +4 -0
  87. data/app/controllers/decidim/votings/admin/votings_controller.rb +1 -1
  88. data/app/controllers/decidim/votings/census/admin/application_controller.rb +19 -0
  89. data/app/controllers/decidim/votings/census/admin/census_controller.rb +191 -0
  90. data/app/controllers/decidim/votings/polling_officer_zone/closures_controller.rb +131 -0
  91. data/app/controllers/decidim/votings/polling_officer_zone/in_person_votes_controller.rb +149 -0
  92. data/app/controllers/decidim/votings/polling_officer_zone/polling_officers_controller.rb +10 -2
  93. data/app/controllers/decidim/votings/votings_controller.rb +91 -4
  94. data/app/events/decidim/elections/votes/vote_accepted_event.rb +1 -1
  95. data/app/forms/decidim/elections/admin/action_form.rb +5 -0
  96. data/app/forms/decidim/elections/admin/question_form.rb +1 -1
  97. data/app/forms/decidim/elections/admin/trustees_participatory_space_form.rb +1 -1
  98. data/app/forms/decidim/elections/{ballot → voter}/verify_vote_form.rb +1 -5
  99. data/app/forms/decidim/elections/voter/vote_form.rb +50 -0
  100. data/app/forms/decidim/votings/admin/ballot_style_form.rb +19 -0
  101. data/app/forms/decidim/votings/admin/monitoring_committee_polling_station_closure_form.rb +11 -0
  102. data/app/forms/decidim/votings/admin/publish_results_form.rb +64 -0
  103. data/app/forms/decidim/votings/admin/voting_form.rb +3 -2
  104. data/app/forms/decidim/votings/answer_result_form.rb +24 -0
  105. data/app/forms/decidim/votings/ballot_result_form.rb +28 -0
  106. data/app/forms/decidim/votings/census/admin/dataset_form.rb +25 -0
  107. data/app/forms/decidim/votings/census/admin/datum_form.rb +30 -0
  108. data/app/forms/decidim/votings/census/check_fields.rb +28 -0
  109. data/app/forms/decidim/votings/census/check_form.rb +13 -0
  110. data/app/forms/decidim/votings/census/frontend_fields.rb +42 -0
  111. data/app/forms/decidim/votings/census/in_person_fields.rb +48 -0
  112. data/app/forms/decidim/votings/census/in_person_form.rb +13 -0
  113. data/app/forms/decidim/votings/census/login_form.rb +13 -0
  114. data/app/forms/decidim/votings/census/online_fields.rb +28 -0
  115. data/app/forms/decidim/votings/closure_certify_form.rb +20 -0
  116. data/app/forms/decidim/votings/closure_result_form.rb +37 -0
  117. data/app/forms/decidim/votings/closure_sign_form.rb +11 -0
  118. data/app/forms/decidim/votings/envelopes_result_form.rb +34 -0
  119. data/app/forms/decidim/votings/question_result_form.rb +24 -0
  120. data/app/forms/decidim/votings/voter/in_person_vote_form.rb +40 -0
  121. data/app/jobs/decidim/votings/census/admin/create_datum_job.rb +41 -0
  122. data/app/jobs/decidim/votings/census/admin/export_access_codes_job.rb +39 -0
  123. data/app/jobs/decidim/votings/census/admin/generate_access_codes_job.rb +44 -0
  124. data/app/mailers/decidim/elections/vote_accepted_mailer.rb +29 -0
  125. data/app/mailers/decidim/votings/access_code_mailer.rb +34 -0
  126. data/app/mailers/decidim/votings/census/export_mailer.rb +44 -0
  127. data/app/models/decidim/elections/action.rb +1 -1
  128. data/app/models/decidim/elections/answer.rb +21 -0
  129. data/app/models/decidim/elections/bulletin_board_closure.rb +19 -0
  130. data/app/models/decidim/elections/election.rb +5 -4
  131. data/app/models/decidim/elections/question.rb +24 -13
  132. data/app/models/decidim/elections/result.rb +22 -0
  133. data/app/models/decidim/elections/trustee.rb +10 -1
  134. data/app/models/decidim/elections/vote.rb +2 -2
  135. data/app/models/decidim/votings/ballot_style.rb +29 -0
  136. data/app/models/decidim/votings/ballot_style_question.rb +11 -0
  137. data/app/models/decidim/votings/census/dataset.rb +32 -0
  138. data/app/models/decidim/votings/census/datum.rb +34 -0
  139. data/app/models/decidim/votings/in_person_vote.rb +22 -0
  140. data/app/models/decidim/votings/polling_station.rb +18 -1
  141. data/app/models/decidim/votings/polling_station_closure.rb +43 -0
  142. data/app/models/decidim/votings/voting.rb +38 -15
  143. data/app/packs/entrypoints/decidim_elections.js +2 -0
  144. data/app/packs/entrypoints/decidim_elections_admin_pending_action.js +1 -0
  145. data/app/packs/entrypoints/decidim_elections_admin_vote_statistics.js +1 -0
  146. data/app/packs/entrypoints/decidim_elections_election_log.js +1 -0
  147. data/app/packs/entrypoints/decidim_elections_onboarding.js +1 -0
  148. data/app/packs/entrypoints/decidim_elections_trustee_key_ceremony.js +1 -0
  149. data/app/packs/entrypoints/decidim_elections_trustee_tally.js +1 -0
  150. data/app/packs/entrypoints/decidim_elections_trustee_trustee_zone.js +1 -0
  151. data/app/packs/entrypoints/decidim_elections_trustee_zone.js +1 -0
  152. data/app/packs/entrypoints/decidim_elections_trustee_zone.scss +1 -0
  153. data/app/packs/entrypoints/decidim_elections_voter_casting-vote.js +1 -0
  154. data/app/packs/entrypoints/decidim_elections_voter_new-vote.js +1 -0
  155. data/app/packs/entrypoints/decidim_elections_voter_setup-preview.js +1 -0
  156. data/app/packs/entrypoints/decidim_elections_voter_setup-vote.js +1 -0
  157. data/app/packs/entrypoints/decidim_elections_voter_verify-vote.js +1 -0
  158. data/app/packs/entrypoints/decidim_votings_admin_monitoring_committee_members_form.js +1 -0
  159. data/app/packs/entrypoints/decidim_votings_admin_polling_officers_form.js +1 -0
  160. data/app/packs/entrypoints/decidim_votings_admin_polling_officers_picker.js +1 -0
  161. data/app/packs/entrypoints/decidim_votings_admin_polling_stations_form.js +1 -0
  162. data/app/packs/entrypoints/decidim_votings_admin_update_census_dataset_status.js +1 -0
  163. data/app/packs/entrypoints/decidim_votings_admin_votings.js +1 -0
  164. data/app/packs/entrypoints/decidim_votings_admin_votings.scss +1 -0
  165. data/app/packs/entrypoints/decidim_votings_in-person-vote.js +1 -0
  166. data/app/packs/entrypoints/decidim_votings_voting-description-cell.js +1 -0
  167. data/app/packs/entrypoints/decidim_votings_voting_polling_officer_zone-edit-closure.js +1 -0
  168. data/app/packs/entrypoints/decidim_votings_voting_polling_officer_zone-in-person-vote.js +1 -0
  169. data/app/packs/entrypoints/decidim_votings_voting_polling_officer_zone-new-closure.js +1 -0
  170. data/app/packs/entrypoints/decidim_votings_voting_polling_officer_zone-sign-closure.js +1 -0
  171. data/app/{assets/images/decidim/elections/icon.svg → packs/images/decidim/elections/decidim_elections.svg} +0 -0
  172. data/app/{assets/images/decidim/votings/icon.svg → packs/images/decidim/votings/decidim_votings.svg} +0 -0
  173. data/app/{assets/javascripts/decidim/elections/admin/pending_action.js.es6 → packs/src/decidim/elections/admin/pending_action.js} +4 -6
  174. data/app/{assets/javascripts/decidim/elections/admin/vote_statistics.js.es6 → packs/src/decidim/elections/admin/vote_statistics.js} +0 -0
  175. data/app/packs/src/decidim/elections/election_log.js +145 -0
  176. data/app/packs/src/decidim/elections/onboarding.js +5 -0
  177. data/app/{assets/javascripts/decidim/elections/trustee_zone/key_ceremony.js.es6 → packs/src/decidim/elections/trustee/key_ceremony.js} +59 -22
  178. data/app/{assets/javascripts/decidim/elections/trustee_zone/tally.js.es6 → packs/src/decidim/elections/trustee/tally.js} +48 -12
  179. data/app/{assets/javascripts/decidim/elections/trustee_zone.js.es6 → packs/src/decidim/elections/trustee/trustee_zone.js} +3 -6
  180. data/app/packs/src/decidim/elections/voter/casting-vote.js +14 -0
  181. data/app/packs/src/decidim/elections/voter/new-vote.js +83 -0
  182. data/app/packs/src/decidim/elections/voter/setup-preview.js +79 -0
  183. data/app/packs/src/decidim/elections/voter/setup-vote.js +50 -0
  184. data/app/{assets/javascripts/decidim/elections/vote_verify.js.es6 → packs/src/decidim/elections/voter/verify-vote.js} +22 -21
  185. data/app/packs/src/decidim/elections/voter/vote_questions.component.js +124 -0
  186. data/app/{assets/javascripts/decidim/votings/admin/monitoring_committee_members_form.js.es6 → packs/src/decidim/votings/admin/monitoring_committee_members_form.js} +3 -3
  187. data/app/{assets/javascripts/decidim/votings/admin/polling_officers_form.js.es6 → packs/src/decidim/votings/admin/polling_officers_form.js} +3 -3
  188. data/app/{assets/javascripts/decidim/votings/admin/polling_officers_picker.js.es6 → packs/src/decidim/votings/admin/polling_officers_picker.js} +0 -0
  189. data/app/{assets/javascripts/decidim/votings/admin/polling_stations_form.js.es6 → packs/src/decidim/votings/admin/polling_stations_form.js} +4 -3
  190. data/app/packs/src/decidim/votings/admin/update_census_dataset_status.js +13 -0
  191. data/app/packs/src/decidim/votings/in-person-vote.js +20 -0
  192. data/app/packs/src/decidim/votings/polling_officer_zone/edit-closure.js +26 -0
  193. data/app/packs/src/decidim/votings/polling_officer_zone/in-person-vote.js +5 -0
  194. data/app/packs/src/decidim/votings/polling_officer_zone/new-closure.js +35 -0
  195. data/app/packs/src/decidim/votings/polling_officer_zone/sign-closure.js +13 -0
  196. data/app/packs/src/decidim/votings/voting-description-cell.js +41 -0
  197. data/app/packs/stylesheets/decidim/elections/elections.scss +8 -0
  198. data/app/{assets → packs}/stylesheets/decidim/elections/focus/_accordion.scss +0 -0
  199. data/app/{assets → packs}/stylesheets/decidim/elections/focus/_evote.scss +8 -1
  200. data/app/{assets → packs}/stylesheets/decidim/elections/focus/_focus.scss +0 -0
  201. data/app/{assets → packs}/stylesheets/decidim/elections/trustee_zone.scss +0 -0
  202. data/app/packs/stylesheets/decidim/votings/admin/votings.scss +3 -0
  203. data/app/packs/stylesheets/decidim/votings/admin/votings/_ballot-styles.scss +16 -0
  204. data/app/packs/stylesheets/decidim/votings/admin/votings/_monitoring-committee-polling-station-closures.scss +9 -0
  205. data/app/packs/stylesheets/decidim/votings/admin/votings/_results.scss +3 -0
  206. data/app/packs/stylesheets/decidim/votings/votings.scss +2 -0
  207. data/app/packs/stylesheets/decidim/votings/votings/_polling-stations-cell.scss +6 -0
  208. data/app/packs/stylesheets/decidim/votings/votings/_voting-description-cell.scss +29 -0
  209. data/app/permissions/decidim/elections/admin/permissions.rb +5 -0
  210. data/app/permissions/decidim/elections/permissions.rb +18 -33
  211. data/app/permissions/decidim/votings/admin/permissions.rb +87 -27
  212. data/app/permissions/decidim/votings/permissions.rb +5 -1
  213. data/app/permissions/decidim/votings/polling_officer_zone/permissions.rb +8 -2
  214. data/app/presenters/decidim/votings/census/admin_log/dataset_presenter.rb +30 -0
  215. data/app/presenters/decidim/votings/voting_presenter.rb +2 -11
  216. data/app/presenters/decidim/votings/voting_stats_presenter.rb +52 -0
  217. data/app/queries/decidim/elections/admin/votes_for_statistics.rb +1 -1
  218. data/app/queries/decidim/elections/votes/last_vote_for_voter.rb +29 -0
  219. data/app/queries/decidim/votings/admin/admin_users.rb +15 -10
  220. data/app/queries/decidim/votings/admin/ballot_style_by_voting_code.rb +31 -0
  221. data/app/queries/decidim/votings/votes/in_person_vote_for_voter.rb +27 -0
  222. data/app/queries/decidim/votings/votes/pending_in_person_votes.rb +20 -0
  223. data/app/serializers/decidim/votings/census/datum_serializer.rb +29 -0
  224. data/app/services/decidim/elections/current_user_vote_flow.rb +68 -0
  225. data/app/services/decidim/elections/vote_flow.rb +109 -0
  226. data/app/services/decidim/votings/census/access_codes_exporter.rb +50 -0
  227. data/app/services/decidim/votings/census_vote_flow.rb +106 -0
  228. data/app/uploaders/decidim/cw/votings/census/voting_census_uploader.rb +19 -0
  229. data/app/views/decidim/elections/admin/answers/index.html.erb +23 -4
  230. data/app/views/decidim/elections/admin/elections/index.html.erb +5 -5
  231. data/app/views/decidim/elections/admin/questions/index.html.erb +2 -2
  232. data/app/views/decidim/elections/admin/steps/_results_published.html.erb +62 -0
  233. data/app/views/decidim/elections/admin/steps/_tally_ended.html.erb +49 -3
  234. data/app/views/decidim/elections/admin/steps/_vote.html.erb +1 -1
  235. data/app/views/decidim/elections/admin/steps/_vote_ended.html.erb +4 -0
  236. data/app/views/decidim/elections/admin/steps/index.html.erb +2 -2
  237. data/app/views/decidim/elections/admin/trustees_participatory_spaces/index.html.erb +7 -3
  238. data/app/views/decidim/elections/elections/_filters.html.erb +1 -0
  239. data/app/views/decidim/elections/elections/election_log.html.erb +182 -0
  240. data/app/views/decidim/elections/elections/index.html.erb +0 -2
  241. data/app/views/decidim/elections/elections/show.html.erb +11 -37
  242. data/app/views/decidim/elections/trustee_zone/elections/_key_ceremony_steps.html.erb +41 -39
  243. data/app/views/decidim/elections/trustee_zone/elections/show.html.erb +11 -27
  244. data/app/views/decidim/elections/trustee_zone/elections/update.js.erb +1 -1
  245. data/app/views/decidim/elections/trustee_zone/trustees/show.html.erb +7 -7
  246. data/app/views/decidim/elections/vote_accepted_mailer/notification.html.erb +3 -0
  247. data/app/views/decidim/elections/votes/{_election_votes_header.html.erb → _focus_header.html.erb} +0 -0
  248. data/app/views/decidim/elections/votes/_new_ballot_decision_step.html.erb +30 -0
  249. data/app/views/decidim/elections/votes/{_election_votes_confirm.html.erb → _new_confirm_step.html.erb} +5 -5
  250. data/app/views/decidim/elections/votes/{_election_votes_confirm_footer.html.erb → _new_confirm_step_footer.html.erb} +2 -3
  251. data/app/views/decidim/elections/votes/{_election_votes_encrypting.html.erb → _new_encrypting_step.html.erb} +1 -1
  252. data/app/views/decidim/elections/votes/{_election_votes_question.html.erb → _new_question.html.erb} +7 -7
  253. data/app/views/decidim/elections/votes/{_election_votes_modal.html.erb → _new_question_modal.html.erb} +1 -1
  254. data/app/views/decidim/elections/votes/_onboarding_modal.html.erb +23 -0
  255. data/app/views/decidim/elections/votes/_show_casted.html.erb +36 -0
  256. data/app/views/decidim/elections/votes/_show_casting.html.erb +25 -0
  257. data/app/views/decidim/elections/votes/{_election_votes_failed.html.erb → _show_failed.html.erb} +6 -4
  258. data/app/views/decidim/elections/votes/new.html.erb +29 -16
  259. data/app/views/decidim/elections/votes/show.html.erb +11 -0
  260. data/app/views/decidim/elections/votes/verify.html.erb +6 -9
  261. data/app/views/decidim/votings/access_code_mailer/send_access_code.html.erb +5 -0
  262. data/app/views/decidim/votings/admin/ballot_styles/_form.html.erb +24 -0
  263. data/app/views/decidim/votings/admin/ballot_styles/edit.html.erb +7 -0
  264. data/app/views/decidim/votings/admin/ballot_styles/index.html.erb +68 -0
  265. data/app/views/decidim/votings/admin/ballot_styles/new.html.erb +7 -0
  266. data/app/views/decidim/votings/admin/monitoring_committee_election_results/_results.html.erb +53 -0
  267. data/app/views/decidim/votings/admin/monitoring_committee_election_results/index.html.erb +32 -0
  268. data/app/views/decidim/votings/admin/monitoring_committee_election_results/show.html.erb +24 -0
  269. data/app/views/decidim/votings/admin/monitoring_committee_members/_form.html.erb +1 -1
  270. data/app/views/decidim/votings/admin/monitoring_committee_members/index.html.erb +1 -1
  271. data/app/views/decidim/votings/admin/monitoring_committee_polling_station_closures/_closure_certificate_results.erb +9 -0
  272. data/app/views/decidim/votings/admin/monitoring_committee_polling_station_closures/_closures.html.erb +71 -0
  273. data/app/views/decidim/votings/admin/monitoring_committee_polling_station_closures/_elections.html.erb +32 -0
  274. data/app/views/decidim/votings/admin/monitoring_committee_polling_station_closures/edit.html.erb +29 -0
  275. data/app/views/decidim/votings/admin/monitoring_committee_polling_station_closures/index.html.erb +5 -0
  276. data/app/views/decidim/votings/admin/monitoring_committee_polling_station_closures/show.html.erb +10 -0
  277. data/app/views/decidim/votings/admin/monitoring_committee_verify_elections/index.html.erb +59 -0
  278. data/app/views/decidim/votings/admin/polling_officers/_form.html.erb +1 -1
  279. data/app/views/decidim/votings/admin/polling_officers/index.html.erb +1 -1
  280. data/app/views/decidim/votings/admin/polling_stations/_form.html.erb +1 -1
  281. data/app/views/decidim/votings/admin/polling_stations/index.html.erb +2 -2
  282. data/app/views/decidim/votings/admin/votings/_form.html.erb +9 -2
  283. data/app/views/decidim/votings/admin/votings/edit.html.erb +1 -1
  284. data/app/views/decidim/votings/admin/votings/index.html.erb +3 -2
  285. data/app/views/decidim/votings/census/admin/census/_creating_data.html.erb +10 -0
  286. data/app/views/decidim/votings/census/admin/census/_export_codes.html.erb +8 -0
  287. data/app/views/decidim/votings/census/admin/census/_exporting_codes.html.erb +3 -0
  288. data/app/views/decidim/votings/census/admin/census/_freeze.html.erb +3 -0
  289. data/app/views/decidim/votings/census/admin/census/_generate_codes.html.erb +25 -0
  290. data/app/views/decidim/votings/census/admin/census/_generating_codes.html.erb +3 -0
  291. data/app/views/decidim/votings/census/admin/census/_new_census.html.erb +22 -0
  292. data/app/views/decidim/votings/census/admin/census/_upload_info.html.erb +17 -0
  293. data/app/views/decidim/votings/census/admin/census/show.html.erb +23 -0
  294. data/app/views/decidim/votings/census/admin/census/status.js.erb +1 -0
  295. data/app/views/decidim/votings/census/export_mailer/access_codes_export.erb +7 -0
  296. data/app/views/decidim/votings/polling_officer_zone/closures/_answer_results_form_fields.html.erb +12 -0
  297. data/app/views/decidim/votings/polling_officer_zone/closures/_ballot_results_form_fields.html.erb +40 -0
  298. data/app/views/decidim/votings/polling_officer_zone/closures/_certify_form.html.erb +15 -0
  299. data/app/views/decidim/votings/polling_officer_zone/closures/_modal_ballots_count_error.html.erb +60 -0
  300. data/app/views/decidim/votings/polling_officer_zone/closures/_modal_ballots_results_count_error.html.erb +19 -0
  301. data/app/views/decidim/votings/polling_officer_zone/closures/_question_results_form_fields.html.erb +22 -0
  302. data/app/views/decidim/votings/polling_officer_zone/closures/_sign_form.html.erb +55 -0
  303. data/app/views/decidim/votings/polling_officer_zone/closures/edit.html.erb +48 -0
  304. data/app/views/decidim/votings/polling_officer_zone/closures/new.html.erb +62 -0
  305. data/app/views/decidim/votings/polling_officer_zone/closures/show.html.erb +35 -0
  306. data/app/views/decidim/votings/polling_officer_zone/in_person_votes/_complete_voting.html.erb +59 -0
  307. data/app/views/decidim/votings/polling_officer_zone/in_person_votes/_in_person_form.html.erb +50 -0
  308. data/app/views/decidim/votings/polling_officer_zone/in_person_votes/_verify_document.html.erb +23 -0
  309. data/app/views/decidim/votings/polling_officer_zone/in_person_votes/new.html.erb +21 -0
  310. data/app/views/decidim/votings/polling_officer_zone/in_person_votes/show.html.erb +25 -0
  311. data/app/views/decidim/votings/polling_officer_zone/polling_officers/_polling_station.html.erb +60 -0
  312. data/app/views/decidim/votings/polling_officer_zone/polling_officers/index.html.erb +15 -0
  313. data/app/views/decidim/votings/votings/_access_code_modal.html.erb +33 -0
  314. data/app/views/decidim/votings/votings/_check_fields.html.erb +31 -0
  315. data/app/views/decidim/votings/votings/_filters.html.erb +1 -0
  316. data/app/views/decidim/votings/votings/_promoted_voting.html.erb +1 -1
  317. data/app/views/decidim/votings/votings/check_census.html.erb +64 -0
  318. data/app/views/decidim/votings/votings/elections_log.html.erb +34 -0
  319. data/app/views/decidim/votings/votings/index.html.erb +0 -2
  320. data/app/views/decidim/votings/votings/login.html.erb +50 -0
  321. data/app/views/decidim/votings/votings/show.html.erb +11 -11
  322. data/app/views/layouts/decidim/_election_votes_header.html.erb +3 -3
  323. data/app/views/layouts/decidim/admin/voting.html.erb +5 -83
  324. data/app/views/layouts/decidim/election_votes.html.erb +1 -0
  325. data/app/views/layouts/decidim/voting_landing.html.erb +13 -0
  326. data/app/views/layouts/decidim/{voting.html.erb → votings.html.erb} +3 -1
  327. data/config/assets.rb +35 -0
  328. data/config/initializers/decidim_bulletin_board.rb +17 -11
  329. data/config/initializers/rack_attack.rb +15 -0
  330. data/config/locales/ca.yml +496 -49
  331. data/config/locales/cs.yml +498 -43
  332. data/config/locales/de.yml +469 -44
  333. data/config/locales/el.yml +0 -14
  334. data/config/locales/en.yml +491 -42
  335. data/config/locales/es-MX.yml +338 -42
  336. data/config/locales/es-PY.yml +338 -42
  337. data/config/locales/es.yml +338 -42
  338. data/config/locales/fi-plain.yml +489 -42
  339. data/config/locales/fi.yml +489 -42
  340. data/config/locales/fr-CA.yml +241 -39
  341. data/config/locales/fr-LU.yml +890 -0
  342. data/config/locales/fr.yml +241 -39
  343. data/config/locales/gl.yml +418 -34
  344. data/config/locales/hu.yml +29 -0
  345. data/config/locales/it.yml +1027 -17
  346. data/config/locales/ja.yml +578 -17
  347. data/config/locales/lb-LU.yml +1 -0
  348. data/config/locales/lv.yml +0 -14
  349. data/config/locales/nl.yml +308 -42
  350. data/config/locales/no.yml +12 -36
  351. data/config/locales/pl.yml +670 -215
  352. data/config/locales/pt-BR.yml +1338 -0
  353. data/config/locales/pt.yml +0 -19
  354. data/config/locales/ro-RO.yml +99 -19
  355. data/config/locales/sv.yml +49 -22
  356. data/config/locales/tr-TR.yml +3 -24
  357. data/config/locales/zh-CN.yml +0 -19
  358. data/db/migrate/20210308104024_add_decidim_votings_census_datasets.rb +17 -0
  359. data/db/migrate/20210308104154_add_decidim_votings_census_data.rb +23 -0
  360. data/db/migrate/20210326090435_create_elections_results.rb +16 -0
  361. data/db/migrate/20210330102348_remove_votes_count_from_answer.rb +7 -0
  362. data/db/migrate/20210330123606_add_voting_ballot_style.rb +19 -0
  363. data/db/migrate/20210330183204_add_email_to_votes.rb +10 -0
  364. data/db/migrate/20210331152729_add_census_contact_information_to_votings.rb +7 -0
  365. data/db/migrate/20210401095507_add_organization_to_decidim_elections_trustee.rb +11 -0
  366. data/db/migrate/20210402102215_add_ballot_style_to_decidim_votings_census_data.rb +7 -0
  367. data/db/migrate/20210402140402_add_salt_to_elections.rb +22 -0
  368. data/db/migrate/20210412144721_change_elections_results.rb +24 -0
  369. data/db/migrate/20210412144740_create_elections_bulletin_board_closures.rb +13 -0
  370. data/db/migrate/20210412144741_create_votings_polling_station_closures.rb +22 -0
  371. data/db/migrate/20210420112721_create_decidim_votings_in_person_votes.rb +21 -0
  372. data/db/migrate/20210422124826_add_verifiable_results_to_decidim_elections_election.rb +8 -0
  373. data/db/migrate/20210426072845_add_signed_at_to_polling_station_closure.rb +7 -0
  374. data/db/migrate/20210427131742_add_validated_at_to_votings_polling_station_closures.rb +8 -0
  375. data/db/seeds/Exampledocument.pdf +0 -0
  376. data/db/seeds/city2.jpeg +0 -0
  377. data/lib/decidim/api/bulletin_board_closure_type.rb +16 -0
  378. data/lib/decidim/api/election_answer_type.rb +3 -2
  379. data/lib/decidim/api/election_result_type.rb +19 -0
  380. data/lib/decidim/api/polling_station_closure_type.rb +19 -0
  381. data/lib/decidim/api/polling_station_type.rb +24 -0
  382. data/lib/decidim/elections.rb +8 -0
  383. data/lib/decidim/elections/admin_engine.rb +14 -15
  384. data/lib/decidim/elections/answer_serializer.rb +2 -1
  385. data/lib/decidim/elections/api.rb +2 -0
  386. data/lib/decidim/elections/component.rb +85 -19
  387. data/lib/decidim/elections/engine.rb +4 -6
  388. data/lib/decidim/elections/test/factories.rb +76 -11
  389. data/lib/decidim/elections/trustee_zone_engine.rb +5 -4
  390. data/lib/decidim/elections/version.rb +1 -1
  391. data/lib/decidim/votings.rb +17 -0
  392. data/lib/decidim/votings/admin_engine.rb +134 -8
  393. data/lib/decidim/votings/api.rb +2 -0
  394. data/lib/decidim/votings/census.rb +16 -0
  395. data/lib/decidim/votings/census_admin.rb +12 -0
  396. data/lib/decidim/votings/census_admin_engine.rb +22 -0
  397. data/lib/decidim/votings/census_engine.rb +19 -0
  398. data/lib/decidim/votings/engine.rb +25 -20
  399. data/lib/decidim/votings/participatory_space.rb +149 -2
  400. data/lib/decidim/votings/polling_officer_zone_engine.rb +15 -6
  401. data/lib/decidim/votings/test/factories.rb +163 -0
  402. data/lib/decidim/votings/voting_serializer.rb +1 -0
  403. data/lib/tasks/decidim_voting_census.rake +26 -0
  404. metadata +326 -72
  405. data/app/assets/config/admin/decidim_votings_manifest.css +0 -0
  406. data/app/assets/config/admin/decidim_votings_manifest.js +0 -4
  407. data/app/assets/config/decidim_elections_manifest.css +0 -3
  408. data/app/assets/config/decidim_elections_manifest.js +0 -8
  409. data/app/assets/config/decidim_votings_manifest.css +0 -3
  410. data/app/assets/config/decidim_votings_manifest.js +0 -0
  411. data/app/assets/javascripts/decidim/elections/vote.js.es6 +0 -117
  412. data/app/assets/javascripts/decidim/elections/vote_questions.component.js.es6 +0 -129
  413. data/app/assets/stylesheets/decidim/elections/elections.scss +0 -6
  414. data/app/assets/stylesheets/decidim/votings/votings.scss +0 -1
  415. data/app/assets/stylesheets/decidim/votings/votings/_votings-header.scss +0 -99
  416. data/app/assets/stylesheets/decidim/votings/votings/_votings-home-banner.scss +0 -11
  417. data/app/controllers/decidim/votings/polling_officer_zone/polling_stations_controller.rb +0 -22
  418. data/app/forms/decidim/elections/voter/encrypted_vote_form.rb +0 -49
  419. data/app/helpers/decidim/elections/elections_helper.rb +0 -29
  420. data/app/queries/decidim/elections/votes/election_votes.rb +0 -19
  421. data/app/queries/decidim/elections/votes/user_election_last_vote.rb +0 -26
  422. data/app/queries/decidim/elections/votes/user_votes.rb +0 -19
  423. data/app/views/decidim/elections/elections/_preview.html.erb +0 -26
  424. data/app/views/decidim/elections/elections/_results.html.erb +0 -47
  425. data/app/views/decidim/elections/votes/_election_votes_confirmed.html.erb +0 -47
  426. data/app/views/decidim/elections/votes/_election_votes_steps_header.html.erb +0 -12
  427. data/app/views/decidim/elections/votes/cast_failed.js.erb +0 -1
  428. data/app/views/decidim/elections/votes/cast_success.js.erb +0 -1
  429. data/app/views/decidim/votings/polling_officer_zone/polling_officers/show.html.erb +0 -42
  430. data/app/views/decidim/votings/polling_officer_zone/polling_stations/show.html.erb +0 -1
  431. data/app/views/decidim/votings/votings/_voting_details.html.erb +0 -7
  432. data/app/views/layouts/decidim/_voting_header.html.erb +0 -16
  433. data/config/locales/ja-JP.yml +0 -216
@@ -0,0 +1 @@
1
+ lb:
@@ -138,17 +138,3 @@ lv:
138
138
  answers: Atbildes
139
139
  max_selections: Maks. izvēles
140
140
  title: Nosaukums
141
- pages:
142
- home:
143
- statistics:
144
- elections_count: Vēlēšanas
145
- participatory_processes:
146
- statistics:
147
- elections_count: Vēlēšanas
148
- votings:
149
- polling_officer_zone:
150
- polling_officers:
151
- show:
152
- polling_stations:
153
- list:
154
- actions: Darbības
@@ -57,6 +57,12 @@ nl:
57
57
  decidim/elections/question:
58
58
  one: Vraag
59
59
  other: vragen
60
+ decidim/votings/census/dataset:
61
+ one: Dataset
62
+ other: Datasets
63
+ decidim/votings/census/datum:
64
+ one: Datum
65
+ other: Data
60
66
  decidim/votings/polling_officer:
61
67
  one: Stembeambte
62
68
  other: Stembeambtes
@@ -76,6 +82,16 @@ nl:
76
82
  search_placeholder:
77
83
  ? title_or_address_or_manager_name_or_manager_email_or_manager_nickname_or_president_name_or_president_email_or_president_nickname_cont
78
84
  : Zoek %{collection} op titel, adres of beambte naam/e-mail/bijnaam.
85
+ signed_eq:
86
+ label: Ondertekend
87
+ values:
88
+ 'false': Ondertekend
89
+ 'true': Niet ondertekend
90
+ validated_eq:
91
+ label: Gevalideerd
92
+ values:
93
+ 'false': Gevalideerd
94
+ 'true': Niet gevalideerd
79
95
  components:
80
96
  elections:
81
97
  actions:
@@ -116,6 +132,8 @@ nl:
116
132
  new:
117
133
  create: Antwoord maken
118
134
  title: Nieuw antwoord
135
+ not_selected: Niet geselecteerd
136
+ selected: Geselecteerd
119
137
  update:
120
138
  invalid: Er was een probleem bij het bijwerken van dit antwoord
121
139
  success: Antwoord succesvol bijgewerkt
@@ -143,6 +161,8 @@ nl:
143
161
  success: Verkiezing succesvol bijgewerkt
144
162
  exports:
145
163
  elections: Verkiezingen
164
+ menu:
165
+ trustees: Trustees
146
166
  models:
147
167
  answer:
148
168
  name: Beantwoorden
@@ -208,11 +228,27 @@ nl:
208
228
  title: Sleutelceremonie
209
229
  trustees: Trustees
210
230
  results_published:
231
+ answer: Antwoord
232
+ not_selected: Niet geselecteerd
233
+ question: Vraag
234
+ result: Resultaat
235
+ selected: Geselecteerd
236
+ submit: Indienen
211
237
  title: Resultaten gepubliceerd
212
238
  tally:
213
239
  title: Turfproces
240
+ tally_ended:
241
+ answer: Antwoord
242
+ not_selected: Niet geselecteerd
243
+ question: Vraag
244
+ result: Resultaat
245
+ selected: Geselecteerd
246
+ success: Verzoek om de resultaten te publiceren is met succes verzonden naar het Bulletin Board
247
+ title: Berekende resultaten
214
248
  vote:
215
249
  title: Stemperiode
250
+ vote_ended:
251
+ text: Stem is beëindigd. Je kunt nu beginnen turven.
216
252
  vote_stats:
217
253
  no_vote_statistics_yet: Nog geen stemstatistieken
218
254
  title: Stemstatistieken
@@ -249,25 +285,27 @@ nl:
249
285
  elections_count:
250
286
  one: "%{count} verkiezing"
251
287
  other: "%{count} verkiezingen"
288
+ preview:
289
+ available_answers: 'Beschikbare antwoorden:'
290
+ description: 'Dit zijn de vragen die je tijdens het stemproces tegenkomt:'
252
291
  results:
253
- votes:
254
- one: "%{count} stem"
255
- other: "%{count} stemmen"
256
- zero: "%{count} stemmen"
292
+ description: 'Dit zijn de resultaten van de stemronde, voor elke vraag:'
293
+ percentage: "%{count}%"
257
294
  show:
258
- action-button:
259
- change-vote: Wijzig je stem
295
+ action_button:
296
+ change_vote: Wijzig je stem
260
297
  vote: Begin met stemmen
261
- vote-again: Stem nogmaals
298
+ vote_again: Stem nogmaals
262
299
  back: Beschikbare verkiezingen
263
300
  callout:
264
- already-voted: Je hebt al gestemd in deze verkiezing. Je kunt je stem wijzigen of controleren.
265
- vote-rejected: Het was niet mogelijk om je stem te verifiëren. Gelieve je stem opnieuw uit te brengen.
301
+ already_voted: Je hebt al gestemd in deze verkiezing. Je kunt je stem wijzigen of controleren.
302
+ pending_vote: Jouw stem wordt uitgebracht op de server.
303
+ vote_rejected: Het was niet mogelijk om je stem te verifiëren. Gelieve je stem opnieuw uit te brengen.
266
304
  preview: Voorvertoning
267
305
  verify:
268
- already-voted: Al gestemd?
269
- verify-here: Controleer hier jouw stem.
270
- will-verify: Je kunt je stem controleren zodra de verkiezing start.
306
+ already_voted: Al gestemd?
307
+ verify_here: Controleer hier jouw stem.
308
+ will_verify: Je kunt je stem controleren zodra de verkiezing start.
271
309
  voting_period_status:
272
310
  finished: De stemming begon op %{start_time} en eindigde op %{end_time}
273
311
  ongoing: 'Actieve stem tot: %{end_time}'
@@ -276,13 +314,17 @@ nl:
276
314
  answer:
277
315
  fields:
278
316
  proposals: Voorstellen
317
+ selected: Geselecteerd
279
318
  title: Aanspreektitel
319
+ votes: Stemmen
280
320
  election:
281
321
  fields:
282
322
  bb_status: Bulletin Bord status
283
323
  end_time: Beëindigen op
284
324
  start_time: Begint om
285
325
  title: Aanspreektitel
326
+ verifiable_results_file_hash: SHA256-controlegetal
327
+ verifiable_results_file_url: Verifieerbaar verkiezingsbestand
286
328
  question:
287
329
  fields:
288
330
  answers: Antwoorden
@@ -376,6 +418,14 @@ nl:
376
418
  update:
377
419
  success: Jouw publieke identificatiesleutel werd succesvol opgeslagen.
378
420
  votes:
421
+ ballot_decision:
422
+ back: Start het stemproces opnieuw
423
+ cast: Stem uitbrengen
424
+ description: 'Hier heb je de opties om je stem uit te brengen zodat ze goed geteld wordt, of -ook een optie: controleren of je stem correct is versleuteld. Om veiligheidsredenen vernietigen we stem op het moment dat je deze controleert. In dat geval moet je het stemproces herstarten om je stem uit te brengen.'
425
+ header: 'Stem is versleuteld: uitbrengen of controleren'
426
+ casting:
427
+ header: Aan het stemmen...
428
+ text: Je stem wordt uitgebracht in de stembus.
379
429
  confirm:
380
430
  answer: Beantwoorden
381
431
  answer_number: antwoord %{number}
@@ -386,24 +436,28 @@ nl:
386
436
  question: Vraag %{count}
387
437
  confirmed:
388
438
  back: Terug naar verkiezingen
389
- error: Sorry, er is iets misgegaan bij het bevestigen van de stem. Probeer het nog eens.
390
439
  experience: Hoe was uw ervaring?
391
440
  feedback: Geef ons feedback
392
441
  header: Stem bevestigd
393
- lead: Je stem is al verstuurd!
394
442
  text: 'U kunt controleren of uw stem succesvol is toegevoegd aan de stembus met het volgende identificatie: <strong class="evote__poll-id">%{e_vote_poll_id}</strong>'
395
443
  verify_link: Om het te controleren, kopieer de identificatiecode en plak ze in de <a href="%{link}">pagina voor het controleren van stemmen</a>
444
+ create:
445
+ error: Er was een probleem bij het uitbrengen van de stem, probeer het opnieuw.
396
446
  encrypting:
397
- header: Stem coderen...
398
- text: Je stem wordt versleuteld om ervoor te zorgen dat je deze anoniem kunt werpen.
447
+ header: Versleutelen van de stem...
448
+ text: Je stem wordt versleuteld om het geheim ervan te waarborgen.
399
449
  failed:
400
450
  header: Stem mislukt
401
451
  lead: Je stem is niet uitgebracht!
402
452
  text: Er is iets mis gegaan, probeer het alsjeblief nog een keer.
453
+ try_again: Probeer opnieuw
403
454
  header:
455
+ ballot_decision: Stem uitbrengen of stem controleren
456
+ casting: Aan het stemmen
404
457
  confirm: Bevestig uw stem
405
458
  confirmed: Stem bevestigd
406
- encrypting: Bevestigen van stem
459
+ encrypting: Versleutelen van de stem
460
+ failed: Stem mislukt
407
461
  messages:
408
462
  not_allowed: U mag op dit moment niet stemmen over deze verkiezingen.
409
463
  modal:
@@ -414,12 +468,8 @@ nl:
414
468
  preview_alert: Dit is een voorbeeld van de stembooth.
415
469
  question_steps: Vraag %{current_step} van %{total_steps}
416
470
  selections: "%{selected} van %{max_selections}<br> selecties"
417
- processing:
418
- header: Verwerken van stem...
419
- text: Je stem is ontvangen en wordt verwerkt. Een ogenblik geduld.
420
471
  update:
421
- error: Er is een probleem opgetreden bij het bijwerken van de status van de stem
422
- success: Status stemming succesvol bijgewerkt
472
+ error: Er is een probleem opgetreden bij het bijwerken van stemstatus. Probeer het opnieuw.
423
473
  verify:
424
474
  content:
425
475
  heading: Verifieer je stem
@@ -472,13 +522,9 @@ nl:
472
522
  notification_title: Je bent %{role} van het stembureau %{polling_station_name} in de stemronde <a href="%{resource_path}">%{resource_title}</a>.
473
523
  menu:
474
524
  votings: Stemronde
475
- pages:
476
- home:
477
- statistics:
478
- elections_count: Verkiezingen
479
- participatory_processes:
480
- statistics:
481
- elections_count: Verkiezingen
525
+ statistics:
526
+ elections_count: Verkiezingen
527
+ votings_count: Stemrondes
482
528
  votings:
483
529
  admin:
484
530
  content_blocks:
@@ -523,10 +569,15 @@ nl:
523
569
  attachment_collections: Mappen
524
570
  attachment_files: Bestanden
525
571
  attachments: Bijlagen
572
+ census: Register
526
573
  components: Onderdelen
527
574
  info: Informatie
528
575
  landing_page: Landingspagina
529
- monitoring_committee_members: Controlecomité
576
+ monitoring_committee: Controlecomité
577
+ monitoring_committee_election_results: Resultaten valideren
578
+ monitoring_committee_members: Leden
579
+ monitoring_committee_polling_station_closures: Certificaten valideren
580
+ monitoring_committee_verify_elections: Verifieer verkiezingen
530
581
  polling_stations: Stembureau
531
582
  models:
532
583
  monitoring_committee_member:
@@ -550,6 +601,32 @@ nl:
550
601
  promoted: In de kijker
551
602
  published: Gepubliceerd
552
603
  title: Titel
604
+ monitoring_committee_election_results:
605
+ actions:
606
+ title: Acties
607
+ view: Bekijken
608
+ index:
609
+ title: Kies een verkiezing waarvan je de resultaten wil zien
610
+ results:
611
+ election_totals: Verkiezingstotalen
612
+ polling_stations: Stembureaus
613
+ result_types:
614
+ blank_answers: Blanco antwoorden
615
+ blank_ballots: Blanco stemmen
616
+ null_ballots: Geen stemmen
617
+ total_ballots: Totaal aantal stemmen
618
+ valid_ballots: Geldige stemmen
619
+ selected: Geselecteerd
620
+ title: Resultaten voor de verkiezing <i>%{election_title}</i>
621
+ totals: Totalen
622
+ show:
623
+ change_election: Verkiezing wijzigen
624
+ publish_results: Resultaten publiceren
625
+ publishing: Resultaten publiceren...
626
+ update:
627
+ invalid: Er is een probleem opgetreden bij het publiceren van de resultaten
628
+ rejected: De publicatie van de resultaten is geweigerd door het Bulletin Board. Probeer het opnieuw of neem contact op met de systeembeheerder.
629
+ success: De resultaten zijn succesvol gepubliceerd
553
630
  monitoring_committee_members:
554
631
  create:
555
632
  invalid: Er is een fout opgetreden bij het aanmaken van dit lid van het controlecomité
@@ -567,6 +644,38 @@ nl:
567
644
  new:
568
645
  create: Creëren
569
646
  title: Maak lid van controlecomité aan
647
+ monitoring_committee_polling_station_closures:
648
+ actions:
649
+ title: Acties
650
+ validate: Bevestigen
651
+ view: Bekijk
652
+ closures:
653
+ change_election: Verkiezing wijzigen
654
+ signed: Ondertekend?
655
+ title: Resultaten voor de verkiezing <i>%{election_title}</i>
656
+ validated: Gevalideerd?
657
+ edit:
658
+ change_polling_station: Terug naar stembureaus
659
+ monitoring_committee_notes: Opmerkingen
660
+ monitoring_committee_notes_placeholder: Meld hier een incident
661
+ title: Resultaten voor de verkiezing <i>%{election_title}</i> in het stembureau <i>%{polling_station_title}</i>
662
+ elections:
663
+ title: Kies een verkiezing die je wilt valideren
664
+ show:
665
+ change_polling_station: Terug naar stembureaus
666
+ monitoring_committee_notes: Opmerkingen van het Comité van toezicht
667
+ validate:
668
+ error: Er is een probleem opgetreden bij het valideren van de sluiting
669
+ success: De sluiting is correct gevalideerd
670
+ monitoring_committee_verify_elections:
671
+ index:
672
+ download: Download
673
+ how_to_checksum: 'Om zeker te zijn dat het bestand dat je hebt gedownload niet is beschadigd of gemanipuleerd tijdens het downloadproces, voer de volgende opdracht uit op je toestel en controleer of de uitvoer overeenkomt met het controlegetal hierboven:'
674
+ how_to_download: Om een verkiezing te verifiëren, download het controleerbare bestand uit bovenstaande tabel.
675
+ how_to_run_verifier: 'Nadat je het bestand gedownload hebt en zeker weet dat het in orde is, kan je doorgaan met de universele controle. Kopieer <a href=''https://github.com/decidim/decidim-bulletin-board''>deze repository</a> en voer vanuit de hoofdmap de volgende opdracht uit:'
676
+ how_to_title: Hoe de geldigheid van een verkiezing te verifiëren
677
+ not_available: Nog niet beschikbaar
678
+ title: Verkiezingen
570
679
  polling_officers:
571
680
  index:
572
681
  role_manager: manager
@@ -640,9 +749,47 @@ nl:
640
749
  create: "%{user_name} heeft de stemronde %{resource_name} aangemaakt"
641
750
  publish: "%{user_name} heeft de stemronde %{resource_name} gepubliceerd"
642
751
  unpublish: "%{user_name} heeft de publicatie van de stemronde %{resource_name} ongedaan gemaakt"
752
+ census:
753
+ admin:
754
+ census:
755
+ creating_data:
756
+ info_message: "<strong>Gelieve te wachten</strong>, %{processed_count} verwerkt van %{raw_count} rijen uit bestand %{file}."
757
+ delete:
758
+ button: Verwijder alle registergegevens
759
+ confirm: Het verwijderen van alle registers kan niet ongedaan worden gemaakt. Weet je zeker dat je wil doorgaan?
760
+ destroy:
761
+ success: Registergegevens verwijderd
762
+ generate_access_codes:
763
+ button: Genereer stemcodes
764
+ confirm: Als je doorgaat, kan je het register niet wijzigen.
765
+ info_message_all: "<strong>Alle rijen zijn met succes</strong> geïmporteerd uit bestand %{file} (%{raw_count} van %{data_count})."
766
+ info_message_warn: Controleer of er geen gegevens ontbreken, omdat %{data_count} records zijn gemaakt en het geüploade bestand %{file} %{raw_count} rijen had.
767
+ new:
768
+ file_help:
769
+ explanation: 'Instructie bij het bestand:'
770
+ message_1: Alleen CSV-bestanden (.csv) zijn toegestaan.
771
+ message_2: Het scheidingsteken tussen kolommen moet een puntkomma (";") zijn.
772
+ info_message: "<strong>Er is nog geen register.</strong> Gebruik het formulier hieronder om een CSV-bestand te importeren."
773
+ submit: Dien CSV in
774
+ title: Stel het register op
775
+ show:
776
+ heading: Register van de stemming
777
+ vote_flow:
778
+ already_voted_in_person: Deze gebruiker heeft al persoonlijk gestemd en heeft geen stemrecht.
643
779
  content_blocks:
644
780
  highlighted_votings:
645
781
  name: Stemrondes in de kijker
782
+ landing_page:
783
+ description:
784
+ show_less: Minder lezen
785
+ show_more: Lees verder
786
+ metrics:
787
+ heading: Cijfers
788
+ polling_stations:
789
+ heading: Stembureaus
790
+ no_polling_stations: Er zijn nog geen stembureaus.
791
+ timeline:
792
+ heading: Tijdslijn
646
793
  monitoring_committee_members:
647
794
  actions:
648
795
  confirm_destroy: Weet je het zeker?
@@ -656,28 +803,139 @@ nl:
656
803
  see_all_votings: Bekijk alle stemrondes
657
804
  votings_button_title: Link naar de pagina Votings waarop alle stemrondes worden weergegeven
658
805
  polling_officer_zone:
806
+ closures:
807
+ back_to_polling_stations: Terug naar stembureaus
808
+ certify:
809
+ add_images: Afbeeldingen toevoegen
810
+ error: Er is een fout opgetreden tijdens het toevoegen van het certificaat, probeer het opnieuw.
811
+ form_legend: Upload een foto van het Stemmensluitingscertificaat
812
+ heading: Stem hertelling - Upload certificaat
813
+ info_text: Upload een foto van het Stemmensluitingscertificaat.
814
+ submit: Certificaat uploaden
815
+ success: Certificaat succesvol geüpload.
816
+ create:
817
+ error: Er is een fout opgetreden bij de sluiting, probeer het later opnieuw.
818
+ success: Sluiting succesvol aangemaakt.
819
+ edit:
820
+ heading: Stem hertelling - Hertelling van antwoorden
821
+ info_text: Voer voor elke vraag het totale aantal antwoorden in.
822
+ modal_ballots_results_count_error:
823
+ close_modal: Sluit
824
+ info_text: Het totale aantal stemmen komt niet overeen met het totaal aantal enveloppen. Controleer alstublieft het totaal aantal stemmen.
825
+ title: Totaal stemmen stemt niet overeen
826
+ save_recount: Bewaar hertelling
827
+ total_ballots: Totaal aantal stemmen
828
+ total_blank_ballots: Totaal blanco stemmen
829
+ total_null_ballots: Totaal ongeldige stemmen
830
+ total_valid_ballots: Totaal geldige stemmen
831
+ new:
832
+ election: 'Verkiezing:'
833
+ heading: Hertelling van de stemmen
834
+ info_text: 'Voer het totale aantal stemmen (enveloppen) in dat in dit stembureau werden herteld:'
835
+ modal_ballots_count_error:
836
+ btn_validate_total: Bevestig de totale hertelling van de stemmen
837
+ close_modal: Sluit
838
+ info_explanation_text: 'Gelieve het totale aantal stemmen na te kijken. Als het totale aantal correct is, zal je een verklaring moeten geven voor het toezichtcomité:'
839
+ info_text: Het totale aantal ingevoerde stemmen (enveloppen) komt niet overeen met de lijst van mensen die in dit stembureau hebben gestemd.
840
+ message_for_monitoring_committee: Bericht aan het Comité van toezicht
841
+ review_recount: Controleer de hertelling
842
+ text_area_placeholder: Schrijf je bericht
843
+ title: Totaal stemmen stemt niet overeen
844
+ total_ballots: 'Totaal aantal stemmen:'
845
+ total_people: 'Totaal aantal mensen:'
846
+ polling_station: 'Stembureau:'
847
+ submit: Controleer het totale aantal
848
+ total_ballots_count: Aantal stemmen
849
+ show:
850
+ heading: Hertelling van de stemmen
851
+ info_text: Stembureau sluiting van de verkiezing.
852
+ sign:
853
+ cancel: Annuleer
854
+ check_box: Ik heb dit nagekeken en is hetzelfde als het fysieke verkiezingssluitingscertificaat
855
+ close_modal: Sluiten
856
+ confirm: Ok, verdergaan
857
+ error: Er is een fout opgetreden, probeer het opnieuw.
858
+ heading: Stem hertelling - Onderteken sluiting
859
+ info_text: Als je doorgaat, kun je geen informatie meer wijzigen, deze actie kan niet ongedaan worden gemaakt.
860
+ submit: Onderteken de sluiting
861
+ success: Sluiting succesvol ondertekend.
862
+ title: Deze actie kan niet ongedaan worden gemaakt
863
+ update:
864
+ error: Er is een fout opgetreden bij het bijwerken van de resultaten van de sluiting, probeer het later opnieuw.
865
+ success: Sluiting resultaten succesvol bijgewerkt.
866
+ in_person_votes:
867
+ complete_voting:
868
+ available_answers: 'Beschikbare antwoorden:'
869
+ census_verified: De gebruiker heeft nog niet gestemd.
870
+ complete_voting: Voltooi het stemmen
871
+ identify_another: Identificeer een andere deelnemer
872
+ questions_title: 'Zij/hij heeft het recht om te stemmen op de volgende vragen:'
873
+ questions_title_voted: 'De gebruiker heeft al online gestemd en heeft het recht om te stemmen op de volgende vragen:'
874
+ voted: De gebruiker heeft gestemd
875
+ create:
876
+ error: De stemming werd niet geregistreerd. Probeer het opnieuw.
877
+ in_person_form:
878
+ census_not_present: Deze gebruiker staat niet op het stemregister.
879
+ census_not_present_description: Zij/hij moet naar het klachtenbureau gaan of contact opnemen met support.
880
+ date_of_birth: Geboortedatum
881
+ day: Dag
882
+ day_placeholder: DD
883
+ document_number: Documentnummer
884
+ document_number_placeholder: Id-nummer
885
+ month: Maand
886
+ month_placeholder: MM
887
+ select: Selecteer het type document
888
+ title: 'Selecteer het documenttype en voer het documentnummer van de gebruiker:'
889
+ validate_document: Het document valideren
890
+ year: Jaar
891
+ year_placeholder: JJJJ
892
+ new:
893
+ back: Terug naar stembureaus
894
+ title: Identificeer en verifieer een gebruiker
895
+ show:
896
+ back: Terug naar stembureaus
897
+ title: Wachten op de registratie van de persoonlijke stem
898
+ update:
899
+ error: Er is een fout opgetreden bij het registreren van de stemming. Probeer het opnieuw.
900
+ success:
901
+ accepted: De stem is met succes geregistreerd.
902
+ rejected: De stemming werd niet geaccepteerd door het Bulletin Board. Neem contact op met de systeembeheerder.
903
+ verify_document:
904
+ census_present: Deze gebruiker staat op het stemregister.
905
+ name: Naam
906
+ title: 'Controleer of de volgende gegevens juist zijn:'
907
+ verify_document: Document verifiëren
659
908
  menu:
660
909
  polling_officer_zone: Zone Stembeambte
661
910
  polling_officers:
662
- show:
663
- actions:
664
- count_votes: Tel de stemmen in de stembus
665
- identify_person: Identificeer en verifieer een persoon
911
+ index:
666
912
  polling_officer_role_description: Je bent aangewezen als Stembureau beambte (Voorzitter of manager) bij enkele van de verkiezingen die op dit platform worden gehouden.
667
- polling_stations:
668
- list:
669
- actions: acties
670
- address: Adres
671
- name: Naam
672
- role: Jouw rol
673
- voting: Stemronde
913
+ polling_station:
914
+ address: Adres
915
+ count_votes: Stemmen tellen
916
+ election: Verkiezing
917
+ identify_person: Identificeer een persoon
918
+ name: Naam
674
919
  no_polling_stations: Je bent nog niet toegewezen aan een Stembureau.
675
- title: Stembureau
920
+ role: Jouw rol
921
+ show_closure: Bekijk sluiting
922
+ title: Stembureaus
923
+ voting: Stemronde
676
924
  polling_officers:
677
925
  roles:
678
926
  manager: Manager
679
927
  president: Voorzitter
680
928
  unassigned: Niet toegewezen
929
+ polling_station_closure_recount:
930
+ nota_option: Leeg/Geen van bovenstaande
931
+ polling_officer_notes: 'Notities van de stembeambte:'
932
+ polling_officer_notes_blank: Er zijn geen notities
933
+ recount_summary: 'Samenvatting hertellen:'
934
+ signed: Ondertekend
935
+ total_ballots: 'Totaal aantal stemmen:'
936
+ total_blank_ballots: 'Totaal blanco stemmen:'
937
+ total_null_ballots: 'Totaal ongeldige stemmen:'
938
+ total_valid_ballots: 'Totaal geldige stemmen:'
681
939
  polling_stations:
682
940
  actions:
683
941
  confirm_destroy: Ben je zeker?
@@ -686,6 +944,9 @@ nl:
686
944
  new: Nieuw
687
945
  title: Acties
688
946
  votings:
947
+ elections_log:
948
+ election_log: Verkiezingslogboek
949
+ title: Verkiezingslogboek
689
950
  filters:
690
951
  active: Actief
691
952
  all: Alle
@@ -699,6 +960,8 @@ nl:
699
960
  index:
700
961
  no_votings: Er zijn geen stemrondes die voldoen aan jouw zoekcriteria.
701
962
  only_finished: Momenteel zijn er geen geplande stemrondes, maar hier vind je alle afgelopen stemrondes.
963
+ login:
964
+ start_voting: Begin met stemmen
702
965
  votings_m:
703
966
  footer_button_text:
704
967
  participate: Deelnemen
@@ -712,6 +975,9 @@ nl:
712
975
  decidim:
713
976
  election_votes_header:
714
977
  exit: Afsluiten
978
+ voting_navigation:
979
+ election_log: Verkiezingslogboek
980
+ voting_menu_item: De stemronde
715
981
  votings:
716
982
  index:
717
983
  promoted_votings: Stemrondes in de kijker