Closed NathanCastle closed 8 years ago
Comment from ceko on other pr: Fixes includes in this pull request:
This change uses one of the suggestions on the show signed issue to show a bootstrap badge with a checkbox in it and the word "signed." It shows up this way when you view the petition list with filters or if you search for petition. It accomplishes this by returning all the upvoters and using a custom helper on the petition card to figure out if you have signed it.
I also included two filters so you can sort by petitions you've engaged with. You can find petitions that you've started that you can see (I labeled this as petitions that have been approved, although that's not entirely correct) and it allows you to filter by petitions you've signed.
Made minor style changes to the badges and toggles. Toggle for approved petitions is hidden when moderation is disabled.