Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotfix/always show council #1867

Merged
merged 5 commits into from
May 24, 2024
Merged

Conversation

VirginiaDooley
Copy link
Contributor

@VirginiaDooley VirginiaDooley commented May 9, 2024

Ref https://app.asana.com/0/1204880927741389/1207218844713564/f

Always show council contact details regardless of whether a polling station is known. Show the registration office details if they differ from the council. For NI, the council should be EONI.
Screenshot 2024-05-14 at 12 07 33 PM

In NI
Screenshot 2024-05-14 at 11 18 15 AM

@VirginiaDooley VirginiaDooley requested review from pmk01 and removed request for pmk01 May 9, 2024 15:06
@VirginiaDooley VirginiaDooley changed the title Hotfix/always show council WIP Hotfix/always show council May 12, 2024
@VirginiaDooley VirginiaDooley changed the title WIP Hotfix/always show council Hotfix/always show council May 13, 2024
@coveralls
Copy link

coveralls commented May 13, 2024

Coverage Status

coverage: 60.072% (-0.005%) from 60.077%
when pulling c850b1e on hotfix/always-show-council
into 8293a09 on master.

@symroe
Copy link
Member

symroe commented May 14, 2024

There are two more cases to consider here:

  1. If the 'council' in the API response is EONI, then we should say "contact EONI" rather than "your local council"
  2. If there is different registration to council contact details, then we should show both.

See the logic here:

https://github.com/DemocracyClub/ec-postcode-lookup-pages/blob/main/postcode_lookup/templates/includes/organisation_contact.html

I expect we can just use the wording we use there.

@VirginiaDooley VirginiaDooley force-pushed the hotfix/always-show-council branch 5 times, most recently from cb88de4 to db687f2 Compare May 14, 2024 11:07
@VirginiaDooley

This comment was marked as resolved.

@VirginiaDooley VirginiaDooley force-pushed the hotfix/always-show-council branch 7 times, most recently from a6e23e3 to e96246e Compare May 21, 2024 11:36
@VirginiaDooley VirginiaDooley force-pushed the hotfix/always-show-council branch 6 times, most recently from 41af72b to a047ef9 Compare May 23, 2024 15:29
@VirginiaDooley VirginiaDooley force-pushed the hotfix/always-show-council branch 2 times, most recently from f934864 to 89c1905 Compare May 23, 2024 18:27
-  Removes unused code
- Updates logic for council v registration
given change in context
- Reformats registration deadline date
- Fixes logic for is_before_registration_deadline
- Removes the advice about registering by post
- Fixes logic for past_registration_deadline to use datetime comparison
@VirginiaDooley VirginiaDooley merged commit bedf0ac into master May 24, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants