odca-jekyll icon indicating copy to clipboard operation
odca-jekyll copied to clipboard

Display which ballot measures passed post-election (like we do candidates)

Open anlawyer opened this issue 5 years ago • 6 comments

Best case: set a "passed" flag somewhere in the spreadsheet to pull from (@sfdoran might need to do this). Alternative: hard code it.

Note: See the 2018 election to see how we marked the candidates who were elected as "elected". Also note that we didn't show which referendums were passed in 2018.

anlawyer avatar Mar 18 '20 02:03 anlawyer

Didn't they all pass? Do we still want to do this?

anlawyer avatar Sep 02 '20 04:09 anlawyer

Note - a "is approved" column exists already in the spreadsheet for ballot measures to be filled with "true" or "false"

elinaru avatar Sep 04 '22 19:09 elinaru

Yes, let's do it! We have 10 measures on the 2022 ballot and some are controversial.

sfdoran avatar Sep 04 '22 19:09 sfdoran

Show "Measure passed" if TRUE and "Measure failed" if FALSE. See candidate page for example.

sfdoran avatar Sep 04 '22 19:09 sfdoran

example - candidate page:
Screen Shot 2022-09-04 at 12 49 34 PM

elinaru avatar Sep 04 '22 19:09 elinaru

How about we style it more like a badge - like so: Screen Shot 2022-09-04 at 12 58 01 PM

font-size: 2rem;
color: white;
background-color: #808080;
padding: 2px 8px;
border-radius: 6px;

elinaru avatar Sep 04 '22 19:09 elinaru