diff options
author | mkanat%bugzilla.org <> | 2009-01-29 22:22:19 +0100 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-01-29 22:22:19 +0100 |
commit | fc293fbd39f14308fbccd0cf9b523664ae813761 (patch) | |
tree | 2eff5448dfbcf0fb0a0671fad80da0752db8f727 /template/en/default/bug/comments.html.tmpl | |
parent | 25e6018ac8a6cf1a99b299fe60ce6c5b1e1d61e6 (diff) | |
download | bugzilla-fc293fbd39f14308fbccd0cf9b523664ae813761.tar.gz bugzilla-fc293fbd39f14308fbccd0cf9b523664ae813761.tar.xz |
Bug 219021: Only display email addresses to logged-in users
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
Diffstat (limited to 'template/en/default/bug/comments.html.tmpl')
-rw-r--r-- | template/en/default/bug/comments.html.tmpl | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/template/en/default/bug/comments.html.tmpl b/template/en/default/bug/comments.html.tmpl index 1e8ee8c54..3a30ca5b2 100644 --- a/template/en/default/bug/comments.html.tmpl +++ b/template/en/default/bug/comments.html.tmpl @@ -188,11 +188,7 @@ </span> <span class="bz_comment_user"> - <span class="vcard"> - <a class="fn email" - href="mailto:[% comment.author.email FILTER html %]"> - [% (comment.author.name || comment.author.login) FILTER html %]</a> - </span> + [% INCLUDE global/user.html.tmpl who = comment.author %] </span> <span class="bz_comment_user_images"> @@ -226,7 +222,8 @@ [% END %] <pre class="bz_comment_text" [% ' id="comment_text_' _ count _ '"' IF mode == "edit" %]> - [%- wrapped_comment FILTER quoteUrls(bug.bug_id, comment.already_wrapped) -%] + [%- wrapped_comment FILTER email + FILTER quoteUrls(bug.bug_id, comment.already_wrapped) -%] </pre> </div> [% END %] |