diff options
Diffstat (limited to 'web/index.cgi')
-rwxr-xr-x | web/index.cgi | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/web/index.cgi b/web/index.cgi index 83b3b421c..e503f50ba 100755 --- a/web/index.cgi +++ b/web/index.cgi @@ -820,8 +820,8 @@ sub display_location { my $report_url = NewURL($q, -retain => 1, -url => '/report/' . $_->{id}, pc => undef, x => undef, 'y' => undef); $report_url = Cobrand::url($cobrand, $report_url, $q); $on_list .= '<li><a href="' . $report_url . '">'; - $on_list .= ent($_->{title}); - $on_list .= '</a>'; + $on_list .= ent($_->{title}) . '</a> <small>('; + $on_list .= Page::prettify_epoch($q, $_->{time}, 1) . ')</small>'; $on_list .= ' <small>' . _('(fixed)') . '</small>' if $_->{state} eq 'fixed'; $on_list .= '</li>'; } @@ -834,8 +834,9 @@ sub display_location { $around_list .= '<li><a href="' . $report_url . '">'; my $dist = int($_->{distance}/100+0.5); $dist = $dist / 10; - $around_list .= ent($_->{title}) . ' <small>(' . $dist . 'km)</small>'; - $around_list .= '</a>'; + $around_list .= ent($_->{title}) . '</a> <small>('; + $around_list .= Page::prettify_epoch($q, $_->{time}, 1) . ', '; + $around_list .= $dist . 'km)</small>'; $around_list .= ' <small>' . _('(fixed)') . '</small>' if $_->{state} eq 'fixed'; $around_list .= '</li>'; push @pins, [ $_->{easting}, $_->{northing}, $_->{state} eq 'fixed' ? 'green' : 'red' ]; |