aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Admin.pm
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2018-03-27 17:36:18 +0100
committerDave Arter <davea@mysociety.org>2018-03-29 16:04:32 +0100
commita955ecf924eadb1e295070a069f67f504065dbf2 (patch)
treed04a9b7c10413a12044b5475abe0a27204852460 /perllib/FixMyStreet/App/Controller/Admin.pm
parenta7e106227c57b0e71ac36720125000ed8397af38 (diff)
Make it easier to identify Open311 categories in category checkbox list
Displays the category’s email address (service code, for Open311) as a tooltip. This makes it easier to identify the right category when editing response templates, for example.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Admin.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Admin.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Admin.pm b/perllib/FixMyStreet/App/Controller/Admin.pm
index e5514c33b..5fe513a28 100644
--- a/perllib/FixMyStreet/App/Controller/Admin.pm
+++ b/perllib/FixMyStreet/App/Controller/Admin.pm
@@ -1109,6 +1109,7 @@ sub template_edit : Path('templates') : Args(2) {
id => $_->id,
category => $_->category_display,
active => $active_contacts{$_->id},
+ email => $_->email,
} } @live_contacts;
$c->stash->{contacts} = \@all_contacts;