aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlouise <louise>2009-11-18 17:57:17 +0000
committerlouise <louise>2009-11-18 17:57:17 +0000
commite0aaf682d86f58bd8f91a817bbacb20b81e71814 (patch)
treed9ae303d859dbc4d2a42891a424927b787b31a22
parent3fbca62889155dfda8e6644edb953ed58019c750 (diff)
Add url home to vars passed to report template
-rwxr-xr-xweb/reports.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/reports.cgi b/web/reports.cgi
index 58dc67b03..3ddad2a85 100755
--- a/web/reports.cgi
+++ b/web/reports.cgi
@@ -7,7 +7,7 @@
# Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved.
# Email: matthew@mysociety.org. WWW: http://www.mysociety.org
#
-# $Id: reports.cgi,v 1.39 2009-11-18 16:43:41 louise Exp $
+# $Id: reports.cgi,v 1.40 2009-11-18 17:57:17 louise Exp $
use strict;
use Standard;
@@ -199,6 +199,7 @@ sub main {
rss_title => _('RSS feed'),
rss_alt => sprintf(_('RSS feed of problems in this %s'), $thing),
rss_url => Cobrand::url($cobrand, $rss_url, $q),
+ url_home => Cobrand::url($cobrand, '/', $q),
summary_title => $all_councils_report
? sprintf(_('This is a summary of all reports for one %s.'), $thing)
: sprintf(_('This is a summary of all reports for this %s.'), $thing),