From b495de6efd8206f6e4ee1ce18a6a0b027484d5d0 Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 30 Jun 2010 17:48:23 +0000 Subject: [PATCH] better looking verbose user strings with less visual noise --- rt/share/html/Elements/ShowUserVerbose | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rt/share/html/Elements/ShowUserVerbose b/rt/share/html/Elements/ShowUserVerbose index 82d65b0b3..9b61ea74a 100644 --- a/rt/share/html/Elements/ShowUserVerbose +++ b/rt/share/html/Elements/ShowUserVerbose @@ -46,7 +46,11 @@ %# %# END BPS TAGGED BLOCK }}} %# Released under the terms of version 2 of the GNU Public License -<%$Address->format%>\ +% if ( $Address->phrase || $Address->comment ) { +<% sprintf q{%s <%s> %s}, map $Address->$_, qw( phrase address comment ) %> +% } else { +<% $Address->address %> +% } <%INIT> my ($phrase, $address, $comment); -- 2.11.0