This is a prerequisite for T309416: SecurePoll: Allow re-tallying of STV elections with a pre-eliminated candidate. SecurePoll assumes that a poll will ever generate 1 tally so tallies are keyed to a poll and assumes that this association will be unique. For instance, the TallyElectionJob class uses the election id to confirm it should run and then writes a property, tally-result associated with that election id. T309416 will want different tallies to be associated with a single poll so all of these assumptions will have to be unwound. The tally page is keyed to an election id and assumes that one row in the db is associated with the tally it cares about and decides what to display based on that assumption.
Acceptance Criteria:
- the tally page of an election allows a re-tally of an existing tally or a new tally to be generated
- /tally/{electionId} should probably only show a table of existing tallies (with options to re/tally) and some new url schema, /tallyresults/{tallyId} should lead to the actual results. No strong opinion on what this implementation actually is. Can possibly pull in design if we have a lot of questions.
- it should continue to show the status of each tally
- multiple tallies can be associated with a single election
- tallies should be deletable
As no modifications can be made to election parameters yet, the only thing this patch should do is allow someone to spam the same results across multiple tally results displays.
