diff options
-rw-r--r-- | perllib/FixMyStreet/DB/Result/Problem.pm | 3 | ||||
-rw-r--r-- | templates/web/default/report/_main.html | 1 | ||||
-rw-r--r-- | templates/web/fixmystreet/report/_main.html | 1 |
3 files changed, 2 insertions, 3 deletions
diff --git a/perllib/FixMyStreet/DB/Result/Problem.pm b/perllib/FixMyStreet/DB/Result/Problem.pm index ad8f9bcae..ce197076b 100644 --- a/perllib/FixMyStreet/DB/Result/Problem.pm +++ b/perllib/FixMyStreet/DB/Result/Problem.pm @@ -546,9 +546,6 @@ sub meta_line { } - $meta .= '; <strong>' . _('there is no pin shown as the user did not use the map') . '</strong>' - unless $problem->used_map; - return $meta; } diff --git a/templates/web/default/report/_main.html b/templates/web/default/report/_main.html index c21709ed0..99c937659 100644 --- a/templates/web/default/report/_main.html +++ b/templates/web/default/report/_main.html @@ -1,6 +1,7 @@ <h1>[% problem.title | html %]</h1> <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.council %] [% IF problem.whensent || problem.can_display_external_id %] <small class="council_sent_info"><br> diff --git a/templates/web/fixmystreet/report/_main.html b/templates/web/fixmystreet/report/_main.html index 2f54b55f5..d0cbc005e 100644 --- a/templates/web/fixmystreet/report/_main.html +++ b/templates/web/fixmystreet/report/_main.html @@ -3,6 +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.council %] [% IF problem.whensent || problem.can_display_external_id %] <small class="council_sent_info"><br> |