aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2016-04-22 14:08:39 +0100
committerMatthew Somerville <matthew@mysociety.org>2016-04-22 14:08:39 +0100
commit2ae5ef426db81a7a473ca1d08065cef172fdd75a (patch)
treef3bc08638f7f53263b4ce7879faee50edc199613 /templates/web
parentc923ee706a122863b2c9db94bf09dfe235b4fd4d (diff)
Remove unneeded template variable.
Diffstat (limited to 'templates/web')
-rwxr-xr-xtemplates/web/base/reports/_ward-list.html2
-rwxr-xr-xtemplates/web/base/reports/body.html4
2 files changed, 2 insertions, 4 deletions
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 %]
<section id="council_wards" class="hidden-js">
<h2>[% ward_text %]</h2>
<p>[% loc('Follow a ward link to view only reports within that ward.') %]</p>
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' %]
-
</div>
<div id="side">
@@ -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' %]
<p class="promo">