diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-09-06 10:36:14 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-09-09 08:06:52 +0100 |
commit | 15efdd9df65dff2340f364e17014e1afa1b449d6 (patch) | |
tree | 3b81d07bad915491eb503df3eafc77804576f287 /t/app/controller/admin.t | |
parent | 7cc39bf875630ae5a2ad9b7245eac286cfaab59f (diff) |
Show 'Remove from site' button based on report.
If the user is a member of the body the report was sent to (and the
cobrand has the option enabled), show the remove from site button.
This was previously cobrand-based (it was shown if the user was a
member of the body the cobrand has hardcoded as its council_id),
which was confusing and harder to implement. Fixes #1508.
Diffstat (limited to 't/app/controller/admin.t')
0 files changed, 0 insertions, 0 deletions