From a955ecf924eadb1e295070a069f67f504065dbf2 Mon Sep 17 00:00:00 2001 From: Dave Arter Date: Tue, 27 Mar 2018 17:36:18 +0100 Subject: Make it easier to identify Open311 categories in category checkbox list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- perllib/FixMyStreet/App/Controller/Admin.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'perllib/FixMyStreet/App/Controller/Admin.pm') 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; -- cgit v1.2.3