Adrian Short
79108daeb0
Bugfix. We might not have a @poll for this district and election. #19
пре 9 година
Adrian Short
dcaf974a3b
Tweak text
пре 9 година
Adrian Short
56347021a0
Calculate vote share in multi-member districts better #19
пре 9 година
Adrian Short
c7670d418b
Disable polling stations page
пре 9 година
Adrian Short
1cec5e6e92
Remove About page
пре 9 година
Adrian Short
0368067b65
Right-align position column
пре 9 година
Adrian Short
e44b2a613a
Output results in DokuWiki wikitext format
пре 9 година
Adrian Short
c941ae6e95
Tidy up postcode lookup
пре 9 година
Adrian Short
52c6cd8a46
Show results rather than candidate pages
пре 10 година
Adrian Short
ddfff973e5
Add polling stations page
пре 10 година
Adrian Short
9fb80cc43a
Look up polling station by postcode
пре 10 година
Adrian Short
daab5c189a
Add turnouts to election summaries and district results
пре 10 година
Adrian Short
7cc3641b0e
Create redirects for merged/deleted candidates so old URLs still work
пре 10 година
Adrian Short
4880076c23
If this election hasn't been held, just show a list of districts being contested
пре 10 година
Adrian Short
92f6d1a4a6
Look up postcodes to find the user's ward
пре 10 година
Adrian Short
6f970e581b
Merge Labour/Co-operative candidacies into Labour. Fixes #12
пре 10 година
Adrian Short
54fa2cf1c3
Use bound parameters
пре 11 година
Adrian Short
4756386df2
Add root path config
пре 11 година
Adrian Short
1250728fb6
Revert "Revert "Revert "Make Date.parse work"""
This reverts commit 864478f2a5
.
пре 12 година
Adrian Short
864478f2a5
Revert "Revert "Make Date.parse work""
This reverts commit 445994f962
.
пре 12 година
Adrian Short
445994f962
Revert "Make Date.parse work"
This reverts commit e8b5147b6c
.
пре 12 година
Adrian Short
e8b5147b6c
Make Date.parse work
пре 12 година
Adrian Short
97d77da9cc
Sort candidate's candidacies in date order. Fix #7
This needs to be written as an SQL query as there's no way I can see in
DataMapper to order a result set by a column in a joined table (the
election date).
пре 12 година
Adrian Short
632db20485
Add number of candidates in each district to districts contested table; make both tables easy to copy and paste
пре 12 година
Adrian Short
e5db0c4520
Add seats won and total number of candidates; Fix SQL incompatibility with Postgres
пре 12 година
Adrian Short
8c2c4bbede
Add votes by party table
пре 12 година
Adrian Short
1ffa74ed37
Round percentages to zero decmimal places
пре 12 година
Adrian Short
59347cc73e
Added links to this election's body and previous/next elections for this body
пре 13 година
Adrian Short
84e1975814
Ensure elections and districts are sorted correctly
пре 13 година
Adrian Short
1a16273242
Postgres requires all selected columns to be used in aggregate functions or specified in the GROUP BY clause
пре 13 година
Adrian Short
bd583f00e1
Hmm
пре 13 година
Adrian Short
c8549804c8
Routes for new views
пре 13 година
Adrian Short
7a48f8a3eb
Added ward map to home page
пре 14 година
Adrian Short
4a3e8d5a6f
Fixed SQL error
пре 14 година
Adrian Short
9a7a99f6c1
Added party colours
пре 14 година
Adrian Short
3e8e53c3ea
Fixed commenting error
пре 14 година
Adrian Short
d650b70ba3
Fixed SQL error
пре 14 година
Adrian Short
f0bd3f36b4
Added council main stats to homepage
пре 14 година
Adrian Short
11f1a4f6d0
Added ward list to home page
пре 14 година
Adrian Short
a0e00023b7
Minor bugfix
пре 14 година
Adrian Short
4d7a7053a6
Added council election results pages
пре 14 година
Adrian Short
170fe79f5c
Tweaks
пре 14 година
Adrian Short
8526d3eedc
Added results pages for parliamentary elections
пре 14 година
Adrian Short
b444ba7a84
Added 404 Not Found page
пре 14 година
Adrian Short
f849c5872d
Added slugs for wards and /wards ward list page
пре 14 година
Adrian Short
4a9d89bf2c
Added caching for postcode API calls to 'postcodes' DB table
пре 14 година
Adrian Short
ed3f23628d
Tidied up app.rb by using chained model associations properly
пре 14 година
Adrian Short
deb1bb8a7c
Added error checking for invalid postcodes and postcodes outside Sutton borough
пре 14 година
Adrian Short
45aac13717
Minor text improvements
пре 14 година
Adrian Short
cbb80972af
Added print stylesheet, parliament elections page. Moved voter registration text to a partial.
пре 14 година