aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/default
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-06-13 18:35:58 +0100
committerMatthew Somerville <matthew@mysociety.org>2011-06-13 18:35:58 +0100
commitee89cb7cf39e7c578955d6a1f9bdeefb20b8193c (patch)
tree9bb768ae245cfcee79f03d6b60762f7bf86351d5 /templates/web/default
parentad77f4c3d3bae6e007b6bff7c2205def4855369b (diff)
Use raw cursor to fetch reports.
Diffstat (limited to 'templates/web/default')
-rwxr-xr-xtemplates/web/default/reports/council.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/web/default/reports/council.html b/templates/web/default/reports/council.html
index 4067d0619..1c35481e7 100755
--- a/templates/web/default/reports/council.html
+++ b/templates/web/default/reports/council.html
@@ -84,10 +84,10 @@
<ul>
[% FOREACH problem IN problems %]
- <li><a href="[% c.uri_for(problem.url) %]">[% problem.title | html %]</a>
- [% IF problem.councils.size > 1 %] <small>[% loc('(sent to both)') %]</small> [% END %]
+ <li><a href="[% c.uri_for('/report/' _ problem.id) %]">[% problem.title | html %]</a>
+ [% IF problem.councils > 1 %] <small>[% loc('(sent to both)') %]</small> [% END %]
[% IF c.cobrand.moniker != 'emptyhomes' %]
- [% IF problem.councils.size == 0 %] <small>[% loc('(not sent to council)') %]</small> [% END %]
+ [% IF problem.councils == 0 %] <small>[% loc('(not sent to council)') %]</small> [% END %]
[% END %]
[% IF all %] <br><small>[% problem.detail %]</small> [% END %]
</li>