diff options
Diffstat (limited to 'web/contact.cgi')
-rwxr-xr-x | web/contact.cgi | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/web/contact.cgi b/web/contact.cgi index fd0043d94..aefd3de7a 100755 --- a/web/contact.cgi +++ b/web/contact.cgi @@ -106,6 +106,8 @@ sub contact_details { my $out = ''; my $sitename = _('FixMyStreet'); my $contact_info = ''; + if ( mySociety::Config::get('COUNTRY') eq 'GB' ) { + # XXX Rewrite to make brandable? $contact_info .= <<EOF; <div class="contact-details"> <p>$sitename is a service provided by mySociety, which is the project of a @@ -120,6 +122,7 @@ UK</p> </div> EOF $out .= $contact_info unless $q->{site} eq 'emptyhomes'; + } return $out; } @@ -203,10 +206,12 @@ sub contact_page { } else { $intro .= $q->p(_('You are reporting the following problem report for being abusive, containing personal information, or similar:')); $item_title = ent($p->{title}); + my $date_time = Page::prettify_epoch($q, $p->{confirmed}); $item_meta = $q->em( - 'Reported ', - ($p->{anonymous}) ? 'anonymously' : "by " . ent($p->{name}), - ' at ' . Page::prettify_epoch($q, $p->{confirmed})); + $p->{anonymous} + ? sprintf(_('Reported anonymously at %s'), $date_time) + : sprintf(_('Reported by %s at %s'), ent($p->{name}), $date_time) + ); $item_body = ent($p->{detail}); } } |