Merge branch 'budgets-select' of github.com:consul/consul into budgets-select

This commit is contained in:
kikito
2016-12-28 11:12:39 +01:00
3 changed files with 40 additions and 0 deletions

View File

@@ -41,6 +41,17 @@
<h3><%= page_entries_info @investments %></h3>
<table>
<thead>
<tr>
<th><%= t("admin.budget_investments.index.table_id") %></th>
<th><%= t("admin.budget_investments.index.table_title") %></th>
<th><%= t("admin.budget_investments.index.table_admin") %></th>
<th><%= t("admin.budget_investments.index.table_valuator") %></th>
<th><%= t("admin.budget_investments.index.table_geozone") %></th>
<th><%= t("admin.budget_investments.index.table_status") %></th>
<th class="text-center"><%= t("admin.budget_investments.index.table_actions") %></th>
</tr>
</thead>
<% @investments.each do |investment| %>
<tr id="<%= dom_id(investment) %>" class="budget_investment">
<td>
@@ -69,6 +80,17 @@
<td class="small">
<%= t("admin.budget_investments.index.feasibility.#{investment.feasibility}", price: investment.price) %>
</td>
<td class="small">
<% if investment.feasible? %>
<%= link_to "#", class: "button small hollow expanded" do %>
<%= t("admin.budget_investments.index.select") %>
<% end %>
<% else %>
<%= link_to "#", class: "button small hollow warning expanded" do %>
<%= t("admin.budget_investments.index.deselect") %>
<% end %>
<% end %>
</td>
</tr>
<% end %>
</table>

View File

@@ -114,6 +114,15 @@ en:
feasible: "Feasible (%{price})"
not_feasible: "Not feasible"
undefined: "Undefined"
deselect: "Deselect"
select: "Select"
table_id: "ID"
table_title: "Title"
table_admin: "Administrator"
table_valuator: "Valuator"
table_geozone: "Scope of operation"
table_status: "Status"
table_actions: "Actions"
show:
assigned_admin: Assigned administrator
assigned_valuators: Assigned valuators

View File

@@ -114,6 +114,15 @@ es:
feasible: "Viable (%{price})"
not_feasible: "Inviable"
undefined: "Sin definir"
deselect: "Deseleccionar"
select: "Seleccionar"
table_id: "ID"
table_title: "Título"
table_admin: "Administrador"
table_valuator: "Evaluador"
table_geozone: "Ámbito de actuación"
table_status: "Estado"
table_actions: "Acciones"
show:
assigned_admin: Administrador asignado
assigned_valuators: Evaluadores asignados