From ebc07655de5b8884a39d12dc046813482c4822e9 Mon Sep 17 00:00:00 2001 From: Angel Perez Date: Thu, 30 Aug 2018 20:14:58 -0400 Subject: [PATCH] Remove `external_url` input when creating an investment The input was removed via #2280 but due to conflict resolution, it was accidentally re-introduced. This commit removes it altogether as well as its associated I18n keys --- app/views/budgets/investments/_form.html.erb | 12 ++---------- config/locales/en/general.yml | 1 - config/locales/es/general.yml | 1 - 3 files changed, 2 insertions(+), 12 deletions(-) diff --git a/app/views/budgets/investments/_form.html.erb b/app/views/budgets/investments/_form.html.erb index b5fdfe9aeda..c89d22e19c7 100644 --- a/app/views/budgets/investments/_form.html.erb +++ b/app/views/budgets/investments/_form.html.erb @@ -3,7 +3,7 @@
- <%= f.select :heading_id, budget_heading_select_options(@budget), { include_blank: true, } %> + <%= f.select :heading_id, budget_heading_select_options(@budget), { include_blank: true } %>
@@ -31,14 +31,6 @@ -
-
- <%= f.text_field :external_url, data: { toggle_focus: "external-url-suggestions" } %> -
- <%= render "shared/suggest_message", id: "external-url-suggestions", - message: t("spending_proposals.suggestions.external_url") %> -
- <% if feature?(:allow_images) %>
@@ -82,7 +74,7 @@
- <%= f.text_field :organization_name, data: {toggle_focus: "organization-name-suggestions"} %> + <%= f.text_field :organization_name, data: { toggle_focus: "organization-name-suggestions" } %>
<%= render "shared/suggest_message", id: "organization-name-suggestions", message: t("spending_proposals.suggestions.organization_name") %> diff --git a/config/locales/en/general.yml b/config/locales/en/general.yml index 1fe9dbf3c4e..413fec3e830 100644 --- a/config/locales/en/general.yml +++ b/config/locales/en/general.yml @@ -691,7 +691,6 @@ en: zero: No supports suggestions: title: "Do not use capital letters for the project title or for whole sentences. On the internet, this is considered shouting. And nobody likes being shouted at." - external_url: "There is not enough space for the project development? Include an URL to let people access more information about it." location: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua." organization_name: "Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat." tag_list: "Tagging your project correctly makes its search easier and may be voted more." diff --git a/config/locales/es/general.yml b/config/locales/es/general.yml index 62f031e39e8..1dd22b726bf 100644 --- a/config/locales/es/general.yml +++ b/config/locales/es/general.yml @@ -690,7 +690,6 @@ es: other: "%{count} apoyos" suggestions: title: "No escribas el título del pryecto o frases enteras en mayúsculas. En internet eso se considera gritar, y a nadie le gusta que le griten." - external_url: "¿Se te ha quedado pequeño el espacio para la propuesta? Incluye un enlace para poder tener acceso a más información." location: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua." organization_name: "Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat." tag_list: "Etiquetar correctamente un proyecto hace que su búsqueda sea más sencilla y tiene más posibilidades de conseguir apoyos."