caciviclab / odca-jekyll

New ODCA front end
https://www.opendisclosure.io
GNU Affero General Public License v3.0
17 stars 13 forks source link

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

Open anlawyer opened 4 years ago

anlawyer commented 4 years ago

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 commented 4 years ago

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

elinaru commented 2 years ago

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

sfdoran commented 2 years ago

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

sfdoran commented 2 years ago

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

elinaru commented 2 years ago

example - candidate page:

Screen Shot 2022-09-04 at 12 49 34 PM
elinaru commented 2 years ago

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;