Change 'Calculate Winners button' to budget_investments index.
Move the button so that it appears in the Winners tab of the budget_investments index. When the budget is in "Balloting projects", "Reviewing Ballots" or "Finished budget" phases, the button will appear as a button (clickable). If there are no winners calculated yet, the text will be "Calculate winner investments"; if there are, the text will be "Recalculate winner investments". If the budget is in another phase, the button will be disabled and a message will appear: 'The budget has to stay on phase "Balloting projects", "Reviewing Ballots" or "Finished budget" in order to calculate winners projects'
This commit is contained in:
@@ -124,6 +124,7 @@ en:
|
||||
winners:
|
||||
calculate: Calculate Winner Investments
|
||||
calculated: Winners being calculated, it may take a minute.
|
||||
recalculate: Recalculate Winner Investments
|
||||
budget_phases:
|
||||
edit:
|
||||
start_date: Start date
|
||||
@@ -190,6 +191,7 @@ en:
|
||||
table_selection: "Selected"
|
||||
table_evaluation: "Show to valuators"
|
||||
table_incompatible: "Incompatible"
|
||||
cannot_calculate_winners: The budget has to stay on phase "Balloting projects", "Reviewing Ballots" or "Finished budget" in order to calculate winners projects
|
||||
show:
|
||||
assigned_admin: Assigned administrator
|
||||
assigned_valuators: Assigned valuators
|
||||
|
||||
Reference in New Issue
Block a user