mysociety / yournextrepresentative

A website for crowd-sourcing structured election candidate data
https://candidates.democracyclub.org.uk/
GNU Affero General Public License v3.0
56 stars 21 forks source link

Display candidate elected button on party list page #933

Closed struan closed 8 years ago

struan commented 8 years ago

This is required in cases where the number of people elected from a party list exceeds the number that are shown on the constituency page. Without this the only way to mark people not shown on the constituency page was to increase the party list length display limit for the constituency page which is not something most users will be able to do.

mhl commented 8 years ago

(As we discussed in IRC...) It'd be good to have a test that asserts that on the ordered-party-list page the "See just this party list" text doesn't appear (or something similar), since it might be easy for someone to add party_lists_in_use to the view, without realising it'll cause that irrelevant text to appear.

Otherwise, this looks good :+1: