diff --git a/app/views/budgets/index.html.erb b/app/views/budgets/index.html.erb index 360e79d72..2856dee3b 100644 --- a/app/views/budgets/index.html.erb +++ b/app/views/budgets/index.html.erb @@ -1,4 +1,4 @@ -<% provide :title do %><%= t('budgets.index.title') %><% end %> +<% provide :title do %><%= t("budgets.index.title") %><% end %> <% content_for :canonical do %> <%= render "shared/canonical", href: budgets_url %> <% end %> @@ -152,23 +152,37 @@ <% end %> - + +<% else %> +
-
-
-

- <%= t("budgets.index.section_footer.title") %> -

-

<%= t("budgets.index.section_footer.description") %>

-

<%= t("budgets.index.section_footer.help_text_1") %>

-

<%= t("budgets.index.section_footer.help_text_2") %>

-

<%= t("budgets.index.section_footer.help_text_3", - org: link_to(setting['org_name'], new_user_registration_path)).html_safe %>

-

<%= t("budgets.index.section_footer.help_text_4") %>

-
+
+

<%= t("budgets.index.title") %>

-<% else %> - <%= t("budgets.index.empty_budgets") %> -<% end %> \ No newline at end of file + +
+
+
+ <%= t("budgets.index.empty_budgets") %> +
+
+
+<% end %> + +
+
+
+

+ <%= t("budgets.index.section_footer.title") %> +

+

<%= t("budgets.index.section_footer.description") %>

+

<%= t("budgets.index.section_footer.help_text_1") %>

+

<%= t("budgets.index.section_footer.help_text_2") %>

+

<%= t("budgets.index.section_footer.help_text_3", + org: link_to(setting['org_name'], new_user_registration_path)).html_safe %>

+

<%= t("budgets.index.section_footer.help_text_4") %>

+
+
+
diff --git a/config/locales/en/budgets.yml b/config/locales/en/budgets.yml index eeed3b2fb..b50e122a8 100644 --- a/config/locales/en/budgets.yml +++ b/config/locales/en/budgets.yml @@ -41,7 +41,7 @@ en: finished: Finished budget index: title: Participatory budgets - empty_budgets: There are no budgets + empty_budgets: There are no budgets. section_header: icon_alt: Participatory budgets icon title: Participatory budgets @@ -131,7 +131,7 @@ en: already_added: You have already added this investment project already_supported: You have already supported this investment project. Share it! support_title: Support this project - confirm_group: + confirm_group: one: "You can only support investments in %{count} district. If you continue you cannot change the election of your district. Are you sure?" other: "You can only support investments in %{count} district. If you continue you cannot change the election of your district. Are you sure?" supports: diff --git a/config/locales/es/budgets.yml b/config/locales/es/budgets.yml index 70ed9c454..2bf7cf85a 100644 --- a/config/locales/es/budgets.yml +++ b/config/locales/es/budgets.yml @@ -41,7 +41,7 @@ es: finished: Resultados index: title: Presupuestos participativos - empty_budgets: No hay presupuestos participativos + empty_budgets: No hay presupuestos participativos. section_header: icon_alt: Icono de Presupuestos participativos title: Presupuestos participativos @@ -131,7 +131,7 @@ es: already_added: Ya has añadido este proyecto de gasto already_supported: Ya has apoyado este proyecto de gasto. ¡Compártelo! support_title: Apoyar este proyecto - confirm_group: + confirm_group: one: "Sólo puedes apoyar proyectos en %{count} distritos. Si sigues adelante no podrás cambiar la elección de este distrito. ¿Estás seguro?" other: "Sólo puedes apoyar proyectos en %{count} distritos. Si sigues adelante no podrás cambiar la elección de este distrito. ¿Estás seguro?" supports: