diff --git a/app/assets/stylesheets/admin.scss b/app/assets/stylesheets/admin.scss index 11a481c1e..196d0be17 100644 --- a/app/assets/stylesheets/admin.scss +++ b/app/assets/stylesheets/admin.scss @@ -47,6 +47,10 @@ body.admin { th { text-align: left; + + &.with-button { + line-height: $line-height*2; + } } tr { diff --git a/app/views/admin/budgets/new.html.erb b/app/views/admin/budgets/new.html.erb index 66484f7b4..f71e7c7a5 100644 --- a/app/views/admin/budgets/new.html.erb +++ b/app/views/admin/budgets/new.html.erb @@ -31,9 +31,6 @@ -
- -

Nombre del budget

@@ -41,20 +38,25 @@ <%= link_to t("admin.budgets.new.add_group"), "#", class: "button float-right" %>
- - "> +
+ + + + "> +
+ ", class="button success"> +
+
-
-
- @@ -79,30 +81,37 @@ - + + @@ -110,12 +119,10 @@ Heading 2 name @@ -123,14 +130,13 @@ Heading 3 name +
+ Nombre del grupo <%= link_to t("admin.budgets.new.add_heading"), "#", class: "button float-right" %>
-
- - - - "> -
- ", class="button success"> + + "> + +
+
+ + "> +
+
+ +
+ + ", class="button success">
Heading 1 name - 9999€ + 190.000€ - + Geozone B
- 24000000€ + 24.000.000€ - + Does not apply
- 1265000€ + 1.265.000€ - + Geozone A
diff --git a/config/locales/admin.en.yml b/config/locales/admin.en.yml index 7d32e3291..a778f6745 100755 --- a/config/locales/admin.en.yml +++ b/config/locales/admin.en.yml @@ -32,8 +32,6 @@ en: editing: Edit banner form: submit_button: Save changes - errors: - form: errors: form: error: @@ -67,6 +65,26 @@ en: filters: open: Open finished: Finished + new: + title: New participatory budget + create: Create budget + name: Budget's name + description: Description + phase: Phase + currency: Currency + group: Group's name + add_group: Add new group + create_group: Create group + heading: Heading's name + add_heading: Add heading + amount: Amount + save_heading: Save heading + no_heading: This group has no assigned heading. + geozone: Scope of operation + no_geozone: Does not apply + table_heading: Heading + table_amount: Amount + table_geozone: Scope of operation comments: index: filter: Filter diff --git a/config/locales/admin.es.yml b/config/locales/admin.es.yml index 0045eebfe..3154060bf 100644 --- a/config/locales/admin.es.yml +++ b/config/locales/admin.es.yml @@ -74,10 +74,14 @@ es: currency: Divisa group: Nombre del grupo add_group: Añadir nuevo grupo + create_group: Crear grupo heading: Nombre de la partida add_heading: Añadir partida + amount: Cantidad save_heading: Guardar partida no_heading: Este grupo no tiene ninguna partida asignada. + geozone: Ámbito de actuación + no_geozone: No aplica table_heading: Partida table_amount: Cantidad table_geozone: Ámbito de actuación