better looking verbose user strings with less visual noise
authorivan <ivan>
Wed, 30 Jun 2010 17:48:23 +0000 (17:48 +0000)
committerivan <ivan>
Wed, 30 Jun 2010 17:48:23 +0000 (17:48 +0000)
rt/share/html/Elements/ShowUserVerbose

index 82d65b0..9b61ea7 100644 (file)
 %# 
 %# 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);