Removes geozones from budget heading views and specs

This commit is contained in:
kikito
2017-01-04 12:46:11 +01:00
parent 52d182f099
commit 0f174df5fe
4 changed files with 1 additions and 14 deletions

View File

@@ -21,7 +21,6 @@
<tr> <tr>
<th><%= t("admin.budgets.form.table_heading") %></th> <th><%= t("admin.budgets.form.table_heading") %></th>
<th><%= t("admin.budgets.form.table_amount") %></th> <th><%= t("admin.budgets.form.table_amount") %></th>
<th><%= t("admin.budgets.form.table_geozone") %></th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@@ -45,10 +44,6 @@
maxlength: 8, maxlength: 8,
placeholder: t("admin.budgets.form.amount") %> placeholder: t("admin.budgets.form.amount") %>
</div> </div>
<div class="small-12 medium-6 column">
<label><%= t("admin.budgets.form.geozone") %></label>
<%= f.select :geozone_id, geozone_select_options, {include_blank: t("geozones.none"), label: false} %>
</div>
</div> </div>
<%= f.submit t("admin.budgets.form.save_heading"), class: "button success" %> <%= f.submit t("admin.budgets.form.save_heading"), class: "button success" %>
@@ -65,12 +60,9 @@
<td> <td>
<%= heading.price %> <%= heading.price %>
</td> </td>
<td>
<%= geozone_name_from_id heading.geozone_id %>
</td>
</tr> </tr>
<% end %> <% end %>
<!-- /. headings list --> <!-- /. headings list -->
</tbody> </tbody>
</table> </table>
</div> </div>

View File

@@ -88,10 +88,8 @@ en:
amount: Amount amount: Amount
save_heading: Save heading save_heading: Save heading
no_heading: This group has no assigned heading. no_heading: This group has no assigned heading.
geozone: Scope of operation
table_heading: Heading table_heading: Heading
table_amount: Amount table_amount: Amount
table_geozone: Scope of operation
budget_investments: budget_investments:
index: index:
heading_filter_all: All headings heading_filter_all: All headings

View File

@@ -88,10 +88,8 @@ es:
amount: Cantidad amount: Cantidad
save_heading: Guardar partida save_heading: Guardar partida
no_heading: Este grupo no tiene ninguna partida asignada. no_heading: Este grupo no tiene ninguna partida asignada.
geozone: Ámbito de actuación
table_heading: Partida table_heading: Partida
table_amount: Cantidad table_amount: Cantidad
table_geozone: Ámbito de actuación
budget_investments: budget_investments:
index: index:
heading_filter_all: Todas las partidas heading_filter_all: Todas las partidas

View File

@@ -153,7 +153,6 @@ feature 'Admin budgets' do
expect(page).to have_content 'District 9 reconstruction' expect(page).to have_content 'District 9 reconstruction'
expect(page).to have_content '6785' expect(page).to have_content '6785'
expect(page).to have_content 'All city'
end end
end end