Commit Graph

126 Commits

Author SHA1 Message Date
Kim Taylor 82f65a2050 Generate pledge council index. 2024-09-21 16:53:24 +10:00
Kim Taylor 2e444113c8 Plumb in Matt's PHP template. 2024-09-17 22:19:24 +10:00
Kim Taylor 1412c268b5 Move pledge data parsing to separate file. 2024-09-17 22:02:09 +10:00
Kim Taylor 0f89ddf779 Use pledges.csv files as override of candidates.csv files. 2024-09-17 21:19:26 +10:00
matt e73afcc366 Remove commas from candidate names before matching to photo 2024-09-17 19:38:42 +10:00
matt e8e338aeef Don't include candidates who have not been given a score 2024-09-17 19:13:37 +10:00
matt 0867d7916d Update second paragraph on lga pages 2024-09-17 17:59:01 +10:00
matt 80ad01a1b1 Tweak intro paragraph text on lga pages 2024-09-16 22:51:05 +10:00
Kim Taylor 48647998a3 Merge branch 'pledges' 2024-09-14 15:43:24 +10:00
Kim Taylor b46e331a53 Fix update command. 2024-09-14 15:41:13 +10:00
Kim Taylor 1ab14ba8c9 Separate file for pledge data. 2024-09-14 14:40:52 +10:00
Kim Taylor b0985b6d60 Apply sed script. 2024-09-10 23:26:00 +10:00
Kim Taylor 18910638a1 Select 9 random candidates for pledge area and generate sed commands. 2024-09-08 22:25:14 +10:00
Kim Taylor ca0bab5071 Collect data for pledge rotation. 2024-09-08 19:26:09 +10:00
Kim Taylor 90a0fee735 Script to update pledge test page from data in spl-data repo. 2024-09-08 17:49:31 +10:00
matt 61833aacb4 Use CSS class to control candidate tick colour 2024-09-04 23:10:07 +10:00
matt 8043e8c45d Allow each lga to link to their own survey 2024-09-04 21:08:00 +10:00
matt 033b30cb78 Replace ' character when searching for picture file in csv-normaliser 2024-09-04 20:20:15 +10:00
matt b0b09178e8 Skip lines that have an empty candidate name 2024-09-04 20:19:50 +10:00
matt 6aca0bc039 Check multiple potential input filenames in csv-normaliser 2024-09-04 20:19:12 +10:00
matt 1cadbcffb4 Tweak template to allow custom groups based on groupNames field in config.json 2024-09-03 23:05:03 +10:00
matt 1ea5048790 Ensure rating is always an integer in csv-normaliser 2024-09-03 23:03:44 +10:00
matt 46bad101e0 Improve handling of expected input file names in csv-normaliser 2024-09-03 21:38:16 +10:00
matt 91978de573 Fix csv-normaliser not skipping example lines 2024-09-03 21:21:59 +10:00
matt 40dc385d7b Fix candidate sorting in template 2024-09-03 20:11:29 +10:00
matt 771d8e7aca Hide verbose output in csv-normaliser 2024-09-03 19:57:58 +10:00
matt 36897255a4 Output csv-normaliser "failed to find picture" messages in red 2024-09-03 19:57:58 +10:00
matt bf5aee2f00 Fix missing newline at end of csv-normaliser output 2024-09-03 19:56:51 +10:00
matt b4fec83039 Add --folder option to csv-normaliser script to simplify passing in arguments if they are in the same folder 2024-09-03 19:56:40 +10:00
matt bd6360177f Handle more edge cases in csv-normaliser 2024-09-02 21:42:35 +10:00
matt c4f8098894 Fix picture size instruction 2024-08-26 22:49:39 +10:00
matt f1f78c69db Fix typos 2024-08-26 22:26:46 +10:00
matt e8ce924b8a Update docs 2024-08-26 22:24:29 +10:00
matt 1b5f41319b Add space after map when the list of wards is hidden 2024-08-25 12:05:44 +10:00
matt 239f2781b4 Remove the command to install the wp-cli/restful package from script 2024-08-25 11:53:13 +10:00
matt 5d0cfb3c1b Tweak bulk-upload-media.sh to use spl-data folder instead of each lga folder 2024-08-25 11:52:55 +10:00
matt c7d9465ba0 Improve label rendering on maps 2024-08-25 11:31:03 +10:00
matt 6d4a49208a Use a CSS class to force columns gap to 0 2024-08-21 23:15:40 +10:00
matt b21d9d8534 Fix dimensions of ward list so it looks normal on mobile 2024-08-21 23:06:11 +10:00
matt 77dc711f12 Add example-media.json file for testing php-template 2024-08-21 22:59:21 +10:00
matt eef70107e4 Add list of wards to page if there is more than 1 ward 2024-08-21 22:59:04 +10:00
matt 460b54cdd8 Add map to page if it is present 2024-08-21 22:58:38 +10:00
matt 530554e118 Add description on number of wards 2024-08-21 22:58:12 +10:00
matt 517bc1caf5 Extract sluggify logic to a function 2024-08-21 22:57:38 +10:00
matt 1e45dc212b Fix message when a picture cannot be found not containing a newline 2024-08-21 22:23:18 +10:00
matt df513aca8e Mount spl-data folder inside csv-normaliser dev container 2024-08-21 22:22:45 +10:00
matt b4ddd94c93 Improve wrapping of 4 ticks 2024-08-19 14:21:09 +10:00
matt 019090089b Only use ticks under candidates 2024-08-19 14:20:52 +10:00
matt 8cd1463fef Add jq filter for generating LGA page links 2024-08-19 10:52:44 +10:00
matt 86e0e07f0e Tweak paragraph when we don't have any candidates 2024-08-19 10:52:29 +10:00