theyworkforyou icon indicating copy to clipboard operation
theyworkforyou copied to clipboard

allow redirect to policy page from postcode page

Open struan opened this issue 7 years ago • 0 comments

Add the ability to specify a policy set or policy to visit after the user has set their postcode at /postcode so that we can link to a policy from e.g. social media.

By adding either ?policy_set=social or ?policy_number=6710 the postcode page will redirect to the relevant policy set or policy page for the MP.

If the user is in Scotland or Northern Ireland the choose representative page isn't shown as we only have policies for MPs so offering them a choice to see an MSP or MLA isn't going to be useful.

There's also a change to the postcode form title to indicate that putting in a postcode is part of the process of getting the information.

screen shot 2017-04-13 at 16 45 29

Fixes #1248

struan avatar Apr 12 '17 17:04 struan