docbrown/app/views/moderations
Arit Amana 750d379807
Allow ModRole & Admin to Suspend & Unsuspend User (#17946)
* gotta commit at some point

* out of gas

* IT'S WORKING NOW! 💥

* Cypress tests

* fix Travis failures

* incorporate PR review suggestions

* fix one failing Cypress test

* update API call

* add Unsuspend flow; fix Travis failures

* add tests for unsuspend flow

* remove unnecessary atrribute

* add article_policy spec

* fix failing Travis

* nudge Travis

* fix apparent typo  o o 🤷

* refactor a bunch of duplication

* nudge Travis

* fix Cypress failure related to authorizing moderator for user_status action

* rename modal partial

* remove unnecessary button-exists check

* address PR review suggestions

* hide suspend user btn after action

* toggle btn based on author suspension status

* add data-testids

* use data-testids

* controller refactor
2022-06-27 12:45:35 -04:00
..
_mod_sidebar_left.html.erb Add a contact email address to the /admin/customization/config (#16497) 2022-02-15 17:37:08 +02:00
_mod_sidebar_right.html.erb views/moderations i18n (#15068) 2021-10-20 10:48:14 -05:00
_suspend_user_modal.html.erb Allow ModRole & Admin to Suspend & Unsuspend User (#17946) 2022-06-27 12:45:35 -04:00
_unsuspend_user_modal.html.erb Allow ModRole & Admin to Suspend & Unsuspend User (#17946) 2022-06-27 12:45:35 -04:00
actions_panel.html.erb Allow ModRole & Admin to Suspend & Unsuspend User (#17946) 2022-06-27 12:45:35 -04:00
index.html.erb Allow Moderator Role to Unpublish Single Post (#17795) 2022-06-03 12:48:20 -04:00
mod.html.erb Update remaining Crayons icons (#16100) 2022-01-18 13:41:04 +07:00