From c553f373a1dd5db53fe4ccc680c1a97283a71764 Mon Sep 17 00:00:00 2001 From: decabeza Date: Mon, 4 Mar 2019 23:57:31 +0100 Subject: [PATCH 01/13] Update i18n for admin custom categories description --- config/locales/en/admin.yml | 2 +- config/locales/es/admin.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/locales/en/admin.yml b/config/locales/en/admin.yml index 94997331e..50486d1c8 100644 --- a/config/locales/en/admin.yml +++ b/config/locales/en/admin.yml @@ -480,7 +480,7 @@ en: selected: Selected form: custom_categories: Categories - custom_categories_description: Categories that users can select creating the proposal. Max 160 characteres by category. + custom_categories_description: Categories that users can select creating the proposal. Max 160 characteres. custom_categories_placeholder: Enter the tags you would like to use, separated by commas (,) and between quotes ("") draft_versions: create: diff --git a/config/locales/es/admin.yml b/config/locales/es/admin.yml index 81339ada9..e2b591b6a 100644 --- a/config/locales/es/admin.yml +++ b/config/locales/es/admin.yml @@ -479,7 +479,7 @@ es: selected: Seleccionada form: custom_categories: Categorías - custom_categories_description: Categorías que el usuario puede seleccionar al crear la propuesta. Máximo 160 caracteres por categoría. + custom_categories_description: Categorías que el usuario puede seleccionar al crear la propuesta. Máximo 160 caracteres. custom_categories_placeholder: Escribe las etiquetas que desees separadas por una coma (,) y entrecomilladas ("") draft_versions: create: From 4641314bda0ae712196af6ff64866dda34a38397 Mon Sep 17 00:00:00 2001 From: decabeza Date: Mon, 4 Mar 2019 23:58:11 +0100 Subject: [PATCH 02/13] Reorder admin menu --- app/views/admin/_menu.html.erb | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/app/views/admin/_menu.html.erb b/app/views/admin/_menu.html.erb index 1dd0e6a28..4b671cc15 100644 --- a/app/views/admin/_menu.html.erb +++ b/app/views/admin/_menu.html.erb @@ -75,6 +75,15 @@ + <% if feature?(:signature_sheets) %> +
  • "> + <%= link_to admin_signature_sheets_path do %> + + <%= t("admin.menu.signature_sheets") %> + <% end %> +
  • + <% end %> + <% if feature?(:spending_proposals) %>
  • @@ -138,15 +147,6 @@
  • - <% if feature?(:signature_sheets) %> -
  • "> - <%= link_to admin_signature_sheets_path do %> - - <%= t("admin.menu.signature_sheets") %> - <% end %> -
  • - <% end %> -
  • From 0e1bf2188cebf63ba654bdb57f8b716e340ae1a2 Mon Sep 17 00:00:00 2001 From: decabeza Date: Tue, 5 Mar 2019 00:02:10 +0100 Subject: [PATCH 03/13] Remove unused verification offices url setting --- app/views/verification/letter/new.html.erb | 4 +--- app/views/verification/letter/show.html.erb | 7 +------ app/views/verification/residence/_errors.html.erb | 4 +--- config/locales/en/settings.yml | 1 - config/locales/en/verification.yml | 9 +++------ config/locales/es/settings.yml | 1 - config/locales/es/verification.yml | 9 +++------ db/dev_seeds/settings.rb | 1 - db/seeds.rb | 1 - spec/features/verification/letter_spec.rb | 11 ----------- 10 files changed, 9 insertions(+), 39 deletions(-) diff --git a/app/views/verification/letter/new.html.erb b/app/views/verification/letter/new.html.erb index 0909ebf46..1aa0654f2 100644 --- a/app/views/verification/letter/new.html.erb +++ b/app/views/verification/letter/new.html.erb @@ -46,9 +46,7 @@