Files
nairobi/app/components/valuation/budgets/row_component.html.erb
Javi Martín ed4b03c3ed Show link to evaluate after evaluation has finished
This way it's still possible to access the "evaluation finished" filter
in the valuation investments index.
2023-02-17 15:26:49 +01:00

19 lines
479 B
Plaintext

<tr id="<%= dom_id(budget) %>" class="budget">
<td>
<%= budget.name %>
</td>
<td>
<%= budget.current_phase.name %>
</td>
<td class="investments-count">
<%= valuation_open_investments_count %>
</td>
<td>
<% if investments.any? %>
<%= link_to t("valuation.budgets.index.evaluate"),
valuation_budget_budget_investments_path(budget_id: budget.id),
class: "button hollow expanded" %>
<% end %>
</td>
</tr>