aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2013-01-29 16:43:21 +0000
committerMatthew Somerville <matthew@mysociety.org>2013-01-29 16:43:21 +0000
commit702dc420ed1ec1a18e42d1aafed6e2c3a8c4b8c7 (patch)
treec84b020f404f4a294371f96c38677de5354c2fa1
parent49a658f00adf95ec48b433eac1734ba9bc0f658a (diff)
No names on EmptyHomes site, no map pin text.
-rw-r--r--perllib/FixMyStreet/DB/Result/Problem.pm6
-rw-r--r--templates/web/default/report/_main.html2
2 files changed, 2 insertions, 6 deletions
diff --git a/perllib/FixMyStreet/DB/Result/Problem.pm b/perllib/FixMyStreet/DB/Result/Problem.pm
index 26724303e..0238e3b09 100644
--- a/perllib/FixMyStreet/DB/Result/Problem.pm
+++ b/perllib/FixMyStreet/DB/Result/Problem.pm
@@ -566,11 +566,7 @@ sub meta_line {
my $category = _($problem->category);
utf8::decode($category);
- if ($problem->anonymous) {
- $meta = sprintf(_('%s, reported anonymously at %s'), $category, $date_time);
- } else {
- $meta = sprintf(_('%s, reported by %s at %s'), $category, $problem->name, $date_time);
- }
+ $meta = sprintf(_('%s, reported at %s'), $category, $date_time);
} else {
diff --git a/templates/web/default/report/_main.html b/templates/web/default/report/_main.html
index b9779db69..6b7c1d271 100644
--- a/templates/web/default/report/_main.html
+++ b/templates/web/default/report/_main.html
@@ -3,7 +3,7 @@
<p><em>
[% problem.meta_line(c) | html %]
- [%- IF !problem.used_map %]; <strong>[% loc('there is no pin shown as the user did not use the map') %]</strong>[% END %]
+ [%- IF !problem.used_map AND c.cobrand.moniker != 'emptyhomes' %]; <strong>[% loc('there is no pin shown as the user did not use the map') %]</strong>[% END %]
[% IF problem.council %]
[% IF problem.whensent || problem.can_display_external_id %]
<small class="council_sent_info"><br>