Merge pull request #3268 from consul/budget-polish

[Backport] Budgets UI minor fixes
This commit is contained in:
Alberto
2019-02-06 14:31:26 +01:00
committed by GitHub
9 changed files with 104 additions and 33 deletions

View File

@@ -62,8 +62,8 @@
</div>
<div class="float-right">
<% if @budget.balloting_process? %>
<%= link_to t("admin.budgets.winners.calculate"),
<% if display_calculate_winners_button?(@budget) %>
<%= link_to calculate_winner_button_text(@budget),
calculate_winners_admin_budget_path(@budget),
method: :put,
class: "button hollow" %>