aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--t/app/controller/alert.t2
-rw-r--r--templates/web/default/alert/list.html4
2 files changed, 4 insertions, 2 deletions
diff --git a/t/app/controller/alert.t b/t/app/controller/alert.t
index d644c4f78..25feaf20d 100644
--- a/t/app/controller/alert.t
+++ b/t/app/controller/alert.t
@@ -21,7 +21,7 @@ $mech->content_contains('Local RSS feeds and email alerts');
$mech->content_contains('html lang="en-gb"');
$mech->get_ok('/alert/list?pc=ZZ99ZY');
-$mech->title_like(qr/^Local RSS feeds and email alerts for ZZ9 9ZY/);
+$mech->title_like(qr/^Local RSS feeds and email alerts/);
$mech->content_contains('Local RSS feeds and email alerts for ZZ9 9ZY');
$mech->content_contains('html lang="en-gb"');
diff --git a/templates/web/default/alert/list.html b/templates/web/default/alert/list.html
index 4408a931a..e0aefdec0 100644
--- a/templates/web/default/alert/list.html
+++ b/templates/web/default/alert/list.html
@@ -1,9 +1,11 @@
[% title = loc('Local RSS feeds and email alerts') %]
+
+[% INCLUDE 'header.html', title => title %]
+
[% IF pretty_pc %]
[% title = tprintf( loc('Local RSS feeds and email alerts for %s'), pretty_pc ) %]
[% END %]
-[% INCLUDE 'header.html', title => title %]
<h1>[% title %]</h1>