Merge pull request #1347 from consul/budgets-vote-button

only displays vote button in selecting phase
This commit is contained in:
Juanjo Bazán
2017-01-13 11:58:28 +01:00
committed by GitHub
3 changed files with 21 additions and 5 deletions

View File

@@ -199,7 +199,7 @@ class Budget
end
def should_show_votes?
budget.selecting? || budget.on_hold?
budget.selecting?
end
def should_show_ballots?