diff options
author | Matthew Somerville <matthew@mysociety.org> | 2016-04-20 13:20:44 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2016-04-20 13:21:09 +0100 |
commit | c5ffbbb856208dcc95bd3bab396e6a04c18e73cf (patch) | |
tree | c6525c0005529a77f3b4245ad863cbe2ec3ff46d /templates | |
parent | 7f2cfbe679ae0c97a7bad63a8554ce4745f541ad (diff) |
Use better link to reports on admin body page.
Remove unused body/area ID URL code.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/base/admin/body.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/web/base/admin/body.html b/templates/web/base/admin/body.html index b46d411c2..be84c6415 100644 --- a/templates/web/base/admin/body.html +++ b/templates/web/base/admin/body.html @@ -24,7 +24,7 @@ [% END %] [% END %] <br> - <a href="[% c.uri_for_email( '/reports/' _ body_id ) %]" class="admin-offsite-link">[% loc('List all reported problems' ) %]</a> | + <a href="[% c.uri_for_email(body.url(c)) %]" class="admin-offsite-link">[% loc('List all reported problems' ) %]</a> | <a href="[% c.uri_for( 'body', body_id, { text => 1 } ) %]">[% loc('Text only version') %]</a> </p> |