Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow an alternative party image to be used #265
A candidate has requested the third party image here be used:
Is this something for the party to resolve with the Electoral Commission? That is, does the order of the images hold some significance as far as the Electoral Commission are concerned?
Or, can this be resolved by reordering the images in Open Electoral Commission?
We hardcode the image to use for some parties where the default is surprising when doing an import from OpenElectoralCommission: https://github.com/mysociety/yournextmp-popit/blob/master/candidates/management/commands/candidates_update_popit_parties_from_ec_data.py#L30-L41
Otherwise the first one in the OpenElectoralCommission list is used.
That's per-party, not per candidate, though. So at the moment, we could do the same for the TUSC if they all wanted that image used. I think ideally we would display the image that each candidate wants used on the ballot paper.
Perfect – thanks, Mark. I understood from the TUSC candidate that this would be for all candidates (since the third image is the logo they are using for this year’s campaign.) I’ve contacted the TUSC candidate to confirm this, though. If he confirms, I’ll send a PR.