mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-05 10:25:45 +03:00
Pledges: Add UI for setting "deactivated" status (#115)
This adds the ability to deactivate/reactivate pledges from the wp-admin list table. Once deactivated, the pledge is removed from the "published" list, as if it were trashed. It is not rendered in the frontend pledge list either. You can still access the edit screen, but no edits can be made (saving the pledge is disabled by JS, as otherwise it would reactivate itself). This way we can remove a pledge, but still see the activity log. Fixes #112
This commit is contained in:
parent
e4deb6809a
commit
8807efb96d
4 changed files with 187 additions and 22 deletions
|
@ -52,6 +52,7 @@
|
|||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.pledge-contributors.pledge-status__5ftf-deactivated .resend-confirm,
|
||||
.pledge-contributors.pledge-status__draft .resend-confirm {
|
||||
display: none;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue