Display valuator group assignments

This commit is contained in:
rgarcia
2018-02-09 21:34:57 +01:00
parent fcb377c9e5
commit 1152f95965
6 changed files with 44 additions and 1 deletions

View File

@@ -24,6 +24,7 @@
<th><%= t("admin.budget_investments.index.table_supports") %></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_valuator_group") %></th>
<th><%= t("admin.budget_investments.index.table_geozone") %></th>
<th><%= t("admin.budget_investments.index.table_feasibility") %></th>
<th class="text-center"><%= t("admin.budget_investments.index.table_valuation_finished") %></th>
@@ -66,6 +67,13 @@
<%= investment.valuators.collect(&:description_or_name).join(", ") %>
<% end %>
</td>
<td class="small">
<% if investment.valuator_groups.size.zero? %>
<%= t("admin.budget_investments.index.no_valuator_groups_assigned") %>
<% else %>
<%= investment.valuator_groups.collect(&:name).join(", ") %>
<% end %>
</td>
<td class="small">
<%= investment.heading.name %>
</td>