diff --git a/app/views/budgets/investments/_content_blocks.html.erb b/app/views/budgets/investments/_content_blocks.html.erb
index de86b50fe..30f938a94 100644
--- a/app/views/budgets/investments/_content_blocks.html.erb
+++ b/app/views/budgets/investments/_content_blocks.html.erb
@@ -1,7 +1,5 @@
<% if @heading.allow_custom_content %>
-
-
-
+
<% @heading_content_blocks.each do |content_block| %>
<%= raw content_block.body %>
<% end %>
diff --git a/app/views/layouts/_footer.html.erb b/app/views/layouts/_footer.html.erb
index e4e3a2d5c..5a0a02f5f 100644
--- a/app/views/layouts/_footer.html.erb
+++ b/app/views/layouts/_footer.html.erb
@@ -89,12 +89,9 @@
<% end %>
<% end %>
+ <%= raw content_block("footer", I18n.locale) %>
-
-
- <%= raw content_block("footer", I18n.locale) %>
-
diff --git a/config/locales/en/admin.yml b/config/locales/en/admin.yml
index 386f52193..7033fefbf 100644
--- a/config/locales/en/admin.yml
+++ b/config/locales/en/admin.yml
@@ -117,7 +117,7 @@ en:
headings_edit: "Edit Headings"
headings_manage: "Manage headings"
max_votable_headings: "Maximum number of headings in which a user can vote"
- no_groups: "No groups created yet. Each user will be able to vote in only one heading per group."
+ no_groups: "There are no groups."
amount:
one: "There is 1 group"
other: "There are %{count} groups"
@@ -133,9 +133,11 @@ en:
edit: "Edit group"
name: "Group name"
submit: "Save group"
+ index:
+ back: "Go back to budgets"
budget_headings:
name: "Name"
- no_headings: "No headings created yet. Each user will be able to vote in only one heading per group."
+ no_headings: "There are no headings."
amount:
one: "There is 1 heading"
other: "There are %{count} headings"
@@ -159,6 +161,8 @@ en:
create: "Create new heading"
edit: "Edit heading"
submit: "Save heading"
+ index:
+ back: "Go back to groups"
budget_phases:
edit:
start_date: Start date
@@ -1347,9 +1351,8 @@ en:
site_customization:
content_blocks:
information: Information about content blocks
- about: You can create HTML content blocks to be inserted in the header or the footer of your CONSUL.
- top_links_html: "Header blocks (top_links) are blocks of links that must have this format:"
- footer_html: "Footer blocks can have any format and can be used to insert Javascript, CSS or custom HTML."
+ about: "You can create HTML content blocks that can be inserted in different places of your website."
+ html_format: "A content block is a group of links, and it must have the following format:"
no_blocks: "There are no content blocks."
create:
notice: Content block created successfully
diff --git a/config/locales/es/admin.yml b/config/locales/es/admin.yml
index 35e611a92..0075225c7 100644
--- a/config/locales/es/admin.yml
+++ b/config/locales/es/admin.yml
@@ -117,7 +117,7 @@ es:
headings_edit: "Editar Partidas"
headings_manage: "Gestionar partidas"
max_votable_headings: "Máximo número de partidas en que un usuario puede votar"
- no_groups: "No hay grupos creados todavía. Cada usuario podrá votar en una sola partida de cada grupo."
+ no_groups: "No hay grupos."
amount:
one: "Hay 1 grupo de partidas presupuestarias"
other: "Hay %{count} grupos de partidas presupuestarias"
@@ -133,9 +133,11 @@ es:
edit: "Editar grupo"
name: "Nombre del grupo"
submit: "Guardar grupo"
+ index:
+ back: "Volver a presupuestos"
budget_headings:
name: "Nombre"
- no_headings: "No hay partidas creadas todavía. Cada usuario podrá votar en una sola partida de cada grupo."
+ no_headings: "No hay partidas."
amount:
one: "Hay 1 partida presupuestarias"
other: "Hay %{count} partidas presupuestarias"
@@ -159,6 +161,8 @@ es:
create: "Crear nueva partida"
edit: "Editar partida"
submit: "Guardar partida"
+ index:
+ back: "Volver a grupos"
budget_phases:
edit:
start_date: Fecha de Inicio
@@ -1345,10 +1349,9 @@ es:
title: Verificaciones incompletas
site_customization:
content_blocks:
- information: Información sobre los bloques de texto
- about: Puedes crear bloques de HTML que se incrustarán en la cabecera o el pie de tu CONSUL.
- top_links_html: "Los bloques de la cabecera (top_links) son bloques de enlaces que deben crearse con este formato:"
- footer_html: "Los bloques del pie (footer) pueden tener cualquier formato y se pueden utilizar para guardar huellas Javascript, contenido CSS o contenido HTML personalizado."
+ information: "Información sobre los bloques de contenido"
+ about: "Puedes crear bloques de contenido HTML que se podrán incrustar en diferentes sitios de tu página."
+ html_format: "Un bloque de contenido es un grupo de enlaces, y debe de tener el siguiente formato:"
no_blocks: "No hay bloques de texto."
create:
notice: Bloque creado correctamente
diff --git a/spec/features/admin/budget_groups_spec.rb b/spec/features/admin/budget_groups_spec.rb
index 414f3618a..869ef55e9 100644
--- a/spec/features/admin/budget_groups_spec.rb
+++ b/spec/features/admin/budget_groups_spec.rb
@@ -32,8 +32,7 @@ feature "Admin budget groups" do
scenario "Displaying no groups for budget" do
visit admin_budget_groups_path(budget)
- expect(page).to have_content "No groups created yet. "
- expect(page).to have_content "Each user will be able to vote in only one heading per group."
+ expect(page).to have_content "There are no groups."
end
scenario "Displaying groups" do
diff --git a/spec/features/admin/budget_headings_spec.rb b/spec/features/admin/budget_headings_spec.rb
index 7094ab9de..93428fe5f 100644
--- a/spec/features/admin/budget_headings_spec.rb
+++ b/spec/features/admin/budget_headings_spec.rb
@@ -33,8 +33,7 @@ feature "Admin budget headings" do
scenario "Displaying no headings for group" do
visit admin_budget_group_headings_path(budget, group)
- expect(page).to have_content "No headings created yet. "
- expect(page).to have_content "Each user will be able to vote in only one heading per group."
+ expect(page).to have_content "There are no headings."
end
scenario "Displaying headings" do