From a010a31a65d6ff3da49d7d85b1dd5a9300c3c92d Mon Sep 17 00:00:00 2001
From: Matthew Somerville
Date: Fri, 1 Jul 2011 13:38:33 +0100
Subject: Fix links not working on All Reports pages (c is special).
---
templates/web/default/maps/pins_js.html | 2 +-
templates/web/default/reports/council.html | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/templates/web/default/maps/pins_js.html b/templates/web/default/maps/pins_js.html
index 08941affc..d6d750390 100644
--- a/templates/web/default/maps/pins_js.html
+++ b/templates/web/default/maps/pins_js.html
@@ -1,4 +1,4 @@
[ [% FOR pin IN map.pins -%]
- [ [% pin.latitude %], [% pin.longitude %], '[% pin.colour %]', '[% pin.id %]', '[% pin.title.replace("'", "\\'") %]' ]
+ [ [% pin.latitude %], [% pin.longitude %], '[% pin.colour %]', '[% pin.id %]', "[% pin.title | html %]" ]
[%- IF !loop.last %],[% END %]
[% END %] ]
diff --git a/templates/web/default/reports/council.html b/templates/web/default/reports/council.html
index d2578f9f2..6d21d9f17 100755
--- a/templates/web/default/reports/council.html
+++ b/templates/web/default/reports/council.html
@@ -22,8 +22,8 @@
[% loc('Wards of this council') %]
[% loc('Follow a ward link to view only reports within that ward.') %]
+[% FOR child IN children.values.sort('name') %]
+[% child.name %]
[% END %]
[% END %]
--
cgit v1.2.3