diff -ur /var/www/html/prodpatches/Bugzilla/Bug.pm prodpatches/Bugzilla/Bug.pm --- /var/www/html/prodpatches/Bugzilla/Bug.pm 2007-01-28 14:15:37.000000000 -0800 +++ prodpatches/Bugzilla/Bug.pm 2007-02-10 16:24:57.000000000 -0800 @@ -1500,7 +1500,6 @@ my %comment = %$comment_ref; $comment{'email'} .= Bugzilla->params->{'emailsuffix'}; - $comment{'name'} = $comment{'name'} || $comment{'email'}; # If raw data is requested, do not format 'special' comments. $comment{'body'} = format_comment(\%comment) unless $raw; diff -ur /var/www/html/prodpatches/template/en/default/bug/comments.html.tmpl prodpatches/template/en/default/bug/comments.html.tmpl --- /var/www/html/prodpatches/template/en/default/bug/comments.html.tmpl 2006-12-21 19:54:50.000000000 -0800 +++ prodpatches/template/en/default/bug/comments.html.tmpl 2007-02-10 17:18:48.000000000 -0800 @@ -99,8 +99,11 @@ [reply] [% END %] - - [% comment.name FILTER html %] + + + [% (comment.name || comment.email) FILTER html %] + +  [%+ comment.time FILTER time %] diff -ur /var/www/html/prodpatches/template/en/default/bug/edit.html.tmpl prodpatches/template/en/default/bug/edit.html.tmpl --- /var/www/html/prodpatches/template/en/default/bug/edit.html.tmpl 2007-01-15 00:02:00.000000000 -0800 +++ prodpatches/template/en/default/bug/edit.html.tmpl 2007-02-10 16:22:55.000000000 -0800 @@ -466,9 +466,7 @@ Assigned To: - - [% bug.assigned_to.display_name FILTER html %] + [% PROCESS user_identity user => bug.assigned_to %] @@ -479,9 +477,7 @@ [% IF bug.check_can_change_field("qa_contact", 0, 1) %] - - [% bug.qa_contact.display_name FILTER html %] + [% PROCESS user_identity user => bug.qa_contact %] (edit) @@ -499,9 +495,7 @@ [% ELSE %] - - [% bug.qa_contact.display_name FILTER html %] + [% PROCESS user_identity user => bug.qa_contact %] [% END %] @@ -540,9 +534,7 @@ [% bug.creation_ts FILTER time %] by - - [% bug.reporter.display_name FILTER truncate(33) FILTER html %] + [% PROCESS user_identity user => bug.reporter %] @@ -851,3 +843,23 @@ [% size = 0 %] [% value = undef %] [% END %] + +[%############################################################################%] +[%# Block for user identities. Wraps the information inside of an hCard. #%] +[%############################################################################%] + +[% BLOCK user_identity %] + [% fn = user.name.replace('^\s+|\s+$', '') %] + + [% IF fn %] + + [% fn FILTER html %] + <[% user.email FILTER html %]> + + [% ELSE %] + + [% user.email FILTER html %] + + [% END %] + +[% END %]