Add Budget Investment winners filter on admin list view and controller

This commit is contained in:
Bertocq
2017-06-21 01:32:09 +02:00
parent 52d23462fe
commit 6aecb558cc
2 changed files with 5 additions and 1 deletions

View File

@@ -12,6 +12,7 @@
<th><%= t("admin.budget_investments.index.table_feasibility") %></th>
<th class="text-center"><%= t("admin.budget_investments.index.table_valuation_finished") %></th>
<th class="text-center"><%= t("admin.budget_investments.index.table_selection") %></th>
<th class="text-center"><%= t("admin.budget_investments.index.table_winner") %></th>
</tr>
</thead>
@@ -74,6 +75,9 @@
<% end %>
<% end %>
</td>
<td class="small text-center">
<%= investment.winner? ? t('shared.yes'): t('shared.no') %>
</td>
</tr>
<% end %>
</table>