diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-05-25 18:23:32 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-05-25 18:23:32 +0100 |
commit | 498b51cc608c4fbd8bae187bf1c9849177134e58 (patch) | |
tree | 78e63e42e95ee1b14c320ffea54cfeedd9137c88 | |
parent | 2e8794adaa69ea258b568b67b284eb143081b0cd (diff) |
Fix space being part of the link.
-rw-r--r-- | templates/web/default/around/around_map_list_items.html | 4 | ||||
-rw-r--r-- | templates/web/default/around/on_map_list_items.html | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/templates/web/default/around/around_map_list_items.html b/templates/web/default/around/around_map_list_items.html index 06790a734..b6c2e6d9c 100644 --- a/templates/web/default/around/around_map_list_items.html +++ b/templates/web/default/around/around_map_list_items.html @@ -4,9 +4,7 @@ [% dist = tprintf("%.1f", (p.distance || 0) ) %] <li> - <a href="[% c.uri_for('/report', p.id ) %]"> - [% p.title | html %] - </a> + <a href="[% c.uri_for('/report', p.id ) %]">[% p.title | html %]</a> <small>([% prettify_epoch( p.time, 1 ) %], [% dist %]km)</small>)</small> [% IF p.state == 'fixed' %] <small>[% loc('(fixed)') %]</small> diff --git a/templates/web/default/around/on_map_list_items.html b/templates/web/default/around/on_map_list_items.html index 2408f5553..11a4e3138 100644 --- a/templates/web/default/around/on_map_list_items.html +++ b/templates/web/default/around/on_map_list_items.html @@ -1,9 +1,7 @@ [% IF on_map.size %] [% FOREACH p IN on_map %] <li> - <a href="[% c.uri_for('/report', p.id ) %]"> - [% p.title | html %] - </a> + <a href="[% c.uri_for('/report', p.id ) %]">[% p.title | html %]</a> <small>([% prettify_epoch( p.time, 1 ) %])</small> [% IF p.state == 'fixed' %] <small>[% loc('(fixed)') %]</small> |