mysociety / pombola

GNU Affero General Public License v3.0
65 stars 41 forks source link

Admin attendance toggle for ZA parties #2654

Closed xybrnet closed 5 years ago

xybrnet commented 5 years ago

This allows the admin users of the ZA instance to toggle displaying attendance records on the person detail pages for people belonging to a specific party.

The migration sets the field to True fro the three major parties which they would like to have display the records.

The admin page excludes the field in core, and allows a ZA user to toggle the field in a different section based on a proxy of the Organization model. Only parties are shown on the list page, and users can only edit the objects - not add or delete.

An example of a person detail page affected by this change is: https://www.pa.org.za/person/liezl-linda-van-der-merwe/

chrismytton commented 5 years ago

@xybrnet Sorry for the delay reviewing this. I'm going to try and look at this and https://github.com/mysociety/pombola/pull/2657 this afternoon.

xybrnet commented 5 years ago

@chrismytton Great, thank you. And no problem - whenever you get a chance.

chrismytton commented 5 years ago

Thanks @xybrnet! This has now been deployed and is live on pa.org.za.

xybrnet commented 5 years ago

Thank you!