diff options
author | Struan Donald <struan@exo.org.uk> | 2011-05-16 13:25:54 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2011-05-16 13:25:54 +0100 |
commit | f65eb76d00dd39e7ed7c3fd0dcb8b42d816112a9 (patch) | |
tree | c52aecf8f1336f3bba810d222cdeeb2ab80dfd6d /perllib/FixMyStreet/App/Controller/Report.pm | |
parent | 7a215e51e45e4107bcf9a900c645f330a76f45aa (diff) |
display banner and move banner generation to cobrand
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Report.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Report.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report.pm b/perllib/FixMyStreet/App/Controller/Report.pm index 805d2da75..bbfa2c4e2 100644 --- a/perllib/FixMyStreet/App/Controller/Report.pm +++ b/perllib/FixMyStreet/App/Controller/Report.pm @@ -79,6 +79,8 @@ sub display : Path('') : Args(1) { # . "\@$short_lat,$short_lon\">View on Google Maps</a></p>" # if mySociety::Config::get('COUNTRY') eq 'GB'; + $c->stash->{banner} = $c->cobrand->generate_problem_banner($c->stash->{problem}); + # my $banner; # if ($q->{site} ne 'emptyhomes' && $problem->{state} eq 'confirmed' && $problem->{duration} > 8*7*24*60*60) { # $banner = $q->p({id => 'unknown'}, _('This problem is old and of unknown status.')); |