From 2ae5ef426db81a7a473ca1d08065cef172fdd75a Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Fri, 22 Apr 2016 14:08:39 +0100 Subject: Remove unneeded template variable. --- templates/web/base/reports/_ward-list.html | 2 +- templates/web/base/reports/body.html | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'templates') diff --git a/templates/web/base/reports/_ward-list.html b/templates/web/base/reports/_ward-list.html index b7e19ffc2..ed341d389 100755 --- a/templates/web/base/reports/_ward-list.html +++ b/templates/web/base/reports/_ward-list.html @@ -1,4 +1,4 @@ -[% IF location == 'after' AND children.size %] +[% IF children.size %]

[% ward_text %]

[% loc('Follow a ward link to view only reports within that ward.') %]

diff --git a/templates/web/base/reports/body.html b/templates/web/base/reports/body.html index dfaa98d6a..2ec409765 100755 --- a/templates/web/base/reports/body.html +++ b/templates/web/base/reports/body.html @@ -26,8 +26,6 @@ [% map_html %] -[% INCLUDE 'reports/_ward-list.html', location = 'before' %] -
@@ -51,7 +49,7 @@ [% TRY %][% INCLUDE 'reports/cobrand_stats.html' %][% CATCH file %][% END %] -[% INCLUDE 'reports/_ward-list.html', location = 'after' %] +[% INCLUDE 'reports/_ward-list.html' %] [% IF c.cobrand.moniker == 'fixmystreet' %]

-- cgit v1.2.3