From 8f3d63ae2c35d27b1ff8fe875b9fb6affadb0b57 Mon Sep 17 00:00:00 2001 From: Zarino Zappia Date: Fri, 27 Mar 2015 13:55:09 +0000 Subject: Simpler report meta information display Removes the italics, and breaks the wording into two separate paragraphs, at the top of the report page. --- perllib/FixMyStreet/DB/Result/Problem.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'perllib/FixMyStreet/DB') diff --git a/perllib/FixMyStreet/DB/Result/Problem.pm b/perllib/FixMyStreet/DB/Result/Problem.pm index bee2e9bce..e55c26cd8 100644 --- a/perllib/FixMyStreet/DB/Result/Problem.pm +++ b/perllib/FixMyStreet/DB/Result/Problem.pm @@ -687,14 +687,14 @@ sub processed_summary_string { } if ($problem->can_display_external_id) { if ($duration_clause) { - $external_ref_clause = sprintf(_('council ref: %s'), $problem->external_id); + $external_ref_clause = '' . sprintf(_('Council ref: %s'), $problem->external_id) . '.'; } else { - $external_ref_clause = sprintf(_('%s ref: %s'), $problem->external_body, $problem->external_id); + $external_ref_clause = '' . sprintf(_('%s ref: %s'), $problem->external_body, $problem->external_id) . '.'; } } if ($duration_clause and $external_ref_clause) { - return "$duration_clause, $external_ref_clause" - } else { + return "$duration_clause. $external_ref_clause" + } else { return $duration_clause || $external_ref_clause } } -- cgit v1.2.3