DemocracyClub / UK-Polling-Stations

:earth_africa: A website to help people find their UK polling station
https://wheredoivote.co.uk/
BSD 3-Clause "New" or "Revised" License
33 stars 30 forks source link

Electoral registration services contact details #2935

Open GeoWill opened 3 years ago

GeoWill commented 3 years ago

Should we have a card that has electoral registration services contact details on them? Raised because they're coming through from the EC API.

symroe commented 3 years ago

Related: https://github.com/DemocracyClub/UK-Polling-Stations/issues/2811 and https://github.com/DemocracyClub/UK-Polling-Stations/issues/2810

chris48s commented 3 years ago

The way we generally handled this in the past was to show registration details up to the registration deadline where they are different (which is only in Scotland) and then switch them over to the electoral services contact details after the registration deadline (just by changing the import command in the deploy repo https://github.com/DemocracyClub/polling_deploy/commit/193e070a746901e4c0121dbed4b2de7e5cc5aa60 this is documented at https://github.com/DemocracyClub/UK-Polling-Stations/wiki/Maintenance-tasks)

Obviously now you have both sets of details for Scotland. One option is to explicitly show both, as noted. Another option would be to keep doing the switch but move the switcheroo to the template code instead of the deploy repo. That said, it looks like the route you are going down with https://github.com/DemocracyClub/uk-election-timetables is that you might actually be able to derive the the registration deadline from the election date(?) so you might be able to use NEXT_CHARISMATIC_ELECTION_DATE https://github.com/DemocracyClub/polling_deploy/blob/b6aaf6cadfe9fef759d38e16930e1d9f16c7f369/webapp_settings/production.py#L66 to work out when to show which details. I guess that is all fun and games until different election types have a different registration deadline :grimacing: