add i18n and fix layout for download current selection

This commit is contained in:
decabeza
2018-01-09 19:39:51 +01:00
parent 65d682901b
commit 13ea6bdd6b
3 changed files with 6 additions and 4 deletions

View File

@@ -1,9 +1,9 @@
<div class='relative'>
<%= link_to 'download current selecction',admin_budget_budget_investments_path(csv_params), class: 'advanced-search small' %>
</div>
<%= link_to t("admin.budget_investments.index.download_current_selection"),
admin_budget_budget_investments_path(csv_params),
class: "float-right small" %>
<% if @investments.any? %>
<h3><%= page_entries_info @investments %></h3>
<h3 class="inline-block"><%= page_entries_info @investments %></h3>
<table>
<thead>
<tr>

View File

@@ -129,6 +129,7 @@ en:
selected: Selected
winners: Winners
all: All
download_current_selection: "Download current selection"
no_budget_investments: "There are no investment projects."
title: Investment projects
assigned_admin: Assigned administrator

View File

@@ -130,6 +130,7 @@ es:
selected: Seleccionadas
winners: Ganadoras
all: Todas
download_current_selection: "Descargar selección actual"
no_budget_investments: "No hay proyectos de inversión."
title: Proyectos de inversión
assigned_admin: Administrador asignado