diff options
author | Struan Donald <struan@exo.org.uk> | 2012-12-20 11:18:54 +0000 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-12-20 11:18:54 +0000 |
commit | aa091c2ec037defdb1600b6e3296eff107dca8fa (patch) | |
tree | 84a2c16b51abbbef85d60ea64ed471facf5ea067 /perllib/FixMyStreet/App/Controller/Report.pm | |
parent | 2425f3bc42072b8765f64fba8d00704e8685f0f3 (diff) |
move site title into cobrand class so we can override it easily
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Report.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Report.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report.pm b/perllib/FixMyStreet/App/Controller/Report.pm index a7e1e8a3a..ef966a8a8 100644 --- a/perllib/FixMyStreet/App/Controller/Report.pm +++ b/perllib/FixMyStreet/App/Controller/Report.pm @@ -95,7 +95,7 @@ sub load_problem_or_display_error : Private { if ( !$c->user || $c->user->id != $problem->user->id ) { $c->detach( '/page_error_403_access_denied', - [ _('That report cannot be viewed on FixMyStreet.') ] # + [ sprintf(_('That report cannot be viewed on %s.'), $c->cobrand->site_title) ] # ); } } |