From bae666916505bc60d4a77fa8154a95f30557468a Mon Sep 17 00:00:00 2001 From: Bertocq Date: Thu, 14 Sep 2017 13:37:47 +0200 Subject: [PATCH] Remove final recount button from officing --- app/views/officing/polls/final.html.erb | 5 +---- config/locales/en/officing.yml | 18 ------------------ config/locales/es/officing.yml | 18 ------------------ 3 files changed, 1 insertion(+), 40 deletions(-) diff --git a/app/views/officing/polls/final.html.erb b/app/views/officing/polls/final.html.erb index b46ab0b13..149551d1e 100644 --- a/app/views/officing/polls/final.html.erb +++ b/app/views/officing/polls/final.html.erb @@ -14,9 +14,6 @@ - <%= link_to t("officing.polls.final.add_recount"), - new_officing_poll_final_recount_path(poll), - class: "button hollow" %> <%= link_to t("officing.polls.final.add_results"), new_officing_poll_result_path(poll), class: "button hollow" %> @@ -29,4 +26,4 @@
<%= t("officing.polls.final.no_polls") %>
-<% end %> \ No newline at end of file +<% end %> diff --git a/config/locales/en/officing.yml b/config/locales/en/officing.yml index 897c51b2a..6dc0d976b 100644 --- a/config/locales/en/officing.yml +++ b/config/locales/en/officing.yml @@ -15,25 +15,7 @@ en: title: Polls ready for final recounting no_polls: You are not officing final recounts in any active poll select_poll: Select poll - add_recount: Add final recount add_results: Add results - final_recounts: - flash: - create: "Data added" - error_create: "Final counts NOT added. Error in data." - new: - title: "%{poll} - Add final recount" - not_allowed: "You are allowed to add final recounts for this poll" - booth: "Booth" - date: "Date" - select_booth: "Select booth" - select_date: "Select date" - count: "Final vote count" - count_placeholder: "Final vote count" - submit: Save - final_recount_list: "Your final recounts" - system_count: "System recount" - add_results: "Add results" results: flash: create: "Results saved" diff --git a/config/locales/es/officing.yml b/config/locales/es/officing.yml index bd18f1ca7..f7d070eb3 100644 --- a/config/locales/es/officing.yml +++ b/config/locales/es/officing.yml @@ -15,24 +15,6 @@ es: title: "Listado de votaciones finalizadas" no_polls: "No tienes permiso para recuento final en ninguna votación reciente" select_poll: "Selecciona votación" - add_recount: "Añadir recuentos finales" - add_results: "Añadir resultados" - final_recounts: - flash: - create: "Datos añadidos" - error_create: "Recuento final NO añadido. Error en los datos" - new: - title: "%{poll} - Añadir recuento final" - not_allowed: "No tienes permiso para introducir recountos finales" - booth: "Urna" - date: "Día" - select_booth: "Elige urna" - select_date: "Elige día" - count: "Recuento final" - count_placeholder: "Número final de votos" - submit: "Guardar" - final_recount_list: "Tus recuentos finales" - system_count: "Recuento del sistema" add_results: "Añadir resultados" results: flash: