aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-07-18 17:19:19 +0100
committerMatthew Somerville <matthew@mysociety.org>2011-07-18 17:19:19 +0100
commit461ee5a78107fb2d3631108ea2d3b1efc694faf4 (patch)
treef4b3fbfcfd33cd83c70be2c8c5636b2b96e3981c
parenteecab672f3a26dccc364461a4eed22626f5a1e48 (diff)
Tweak metadata display on list pages.
-rw-r--r--templates/web/default/around/around_map_list_items.html2
-rwxr-xr-xtemplates/web/default/around/display_location.html2
-rw-r--r--templates/web/default/around/on_map_list_items.html2
-rw-r--r--web/css/core.css3
-rw-r--r--web/css/core.scss5
5 files changed, 11 insertions, 3 deletions
diff --git a/templates/web/default/around/around_map_list_items.html b/templates/web/default/around/around_map_list_items.html
index e13e9ccc9..a98f25dbe 100644
--- a/templates/web/default/around/around_map_list_items.html
+++ b/templates/web/default/around/around_map_list_items.html
@@ -5,7 +5,7 @@
<li>
<a href="[% c.uri_for('/report', p.problem.id ) %]">[% p.problem.title | html %]</a>
- <small>([% prettify_epoch( p.problem.confirmed_local.epoch, 1 ) %], [% dist %]km)</small>
+ <small>[% prettify_epoch( p.problem.confirmed_local.epoch, 1 ) %], [% dist %]km</small>
[% IF p.problem.state == 'fixed' %]
<small>[% loc('(fixed)') %]</small>
[% END %]
diff --git a/templates/web/default/around/display_location.html b/templates/web/default/around/display_location.html
index 529c12eec..ebea99895 100755
--- a/templates/web/default/around/display_location.html
+++ b/templates/web/default/around/display_location.html
@@ -101,7 +101,7 @@
</ul>
- <h2 id="closest_problems">
+ <h2>
[%
tprintf(
loc( 'Closest nearby problems <small>(within&nbsp;%skm)</small>' ),
diff --git a/templates/web/default/around/on_map_list_items.html b/templates/web/default/around/on_map_list_items.html
index 9db3d9492..2db7d00d2 100644
--- a/templates/web/default/around/on_map_list_items.html
+++ b/templates/web/default/around/on_map_list_items.html
@@ -2,7 +2,7 @@
[% FOREACH p IN on_map %]
<li>
<a href="[% c.uri_for('/report', p.id ) %]">[% p.title | html %]</a>
- <small>([% prettify_epoch( p.confirmed_local.epoch, 1 ) %])</small>
+ <small>[% prettify_epoch( p.confirmed_local.epoch, 1 ) %]</small>
[% IF p.state == 'fixed' %]
<small>[% loc('(fixed)') %]</small>
[% END %]
diff --git a/web/css/core.css b/web/css/core.css
index bbf3ac381..d468f097d 100644
--- a/web/css/core.css
+++ b/web/css/core.css
@@ -279,6 +279,9 @@
margin-top: 0.5em;
margin-bottom: 0;
}
+#mysociety #nearby_lists li small {
+ color: #666666;
+}
#mysociety #alert_links {
float: right;
}
diff --git a/web/css/core.scss b/web/css/core.scss
index 9221206ff..22bdc3d2e 100644
--- a/web/css/core.scss
+++ b/web/css/core.scss
@@ -343,6 +343,11 @@ $map_width: 500px;
margin-top: 0.5em;
margin-bottom: 0;
}
+
+ #nearby_lists li small {
+ color: #666666;
+ }
+
#alert_links {
float: right;
}