Deleting a booth shift with recounts or partial results.

Show a flash message that it's not possible to delete booth shifts
when they have associated recounts or partial results. Before an
execption was raised.
This commit is contained in:
Julian Herrero
2019-02-06 10:55:43 +01:00
parent e76f483850
commit 5f4a369606
6 changed files with 70 additions and 3 deletions

View File

@@ -872,6 +872,7 @@ en:
flash:
create: "Shift added"
destroy: "Shift removed"
unable_to_destroy: "Shifts with associated results or recounts cannot be deleted"
date_missing: "A date must be selected"
vote_collection: Collect Votes
recount_scrutiny: Recount & Scrutiny