From fc293fbd39f14308fbccd0cf9b523664ae813761 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Thu, 29 Jan 2009 21:22:19 +0000 Subject: Bug 219021: Only display email addresses to logged-in users Patch By Max Kanat-Alexander r=LpSolit, a=LpSolit --- template/en/default/bug/edit.html.tmpl | 85 +++++++++++++--------------------- 1 file changed, 31 insertions(+), 54 deletions(-) (limited to 'template/en/default/bug/edit.html.tmpl') diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index 50c7ea9d5..bb80fc1ad 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -524,7 +524,7 @@ [% IF bug.check_can_change_field("assigned_to", 0, 1) %]
- [% INCLUDE user_identity user=> bug.assigned_to %] + [% INCLUDE global/user.html.tmpl who = bug.assigned_to %] (edit)
@@ -548,7 +548,7 @@ initDefaultCheckbox('assignee'); [% ELSE %] - [% INCLUDE user_identity user => bug.assigned_to %] + [% INCLUDE global/user.html.tmpl who = bug.assigned_to %] [% END %] @@ -559,13 +559,12 @@ : - [% IF bug.check_can_change_field("qa_contact", 0, 1) %] [% IF bug.qa_contact != "" %]
- [% INCLUDE user_identity user=> bug.qa_contact %] + [% INCLUDE global/user.html.tmpl who = bug.qa_contact %] (edit)
@@ -593,7 +592,7 @@ initDefaultCheckbox('qa_contact'); [% ELSE %] - [% INCLUDE user_identity user => bug.qa_contact %] + [% INCLUDE global/user.html.tmpl who = bug.qa_contact %] [% END %] @@ -813,7 +812,7 @@ Reported: - [% bug.creation_ts FILTER time %] by [% INCLUDE user_identity user => bug.reporter %] + [% bug.creation_ts FILTER time %] by [% INCLUDE global/user.html.tmpl who = bug.reporter %] @@ -833,11 +832,10 @@ [%# Block for CC LIST #%] [%############################################################################%] [% BLOCK section_cclist %] - [% IF user.id %] - - - + + + [% IF user.id %] [% IF NOT bug.cc || NOT bug.cc.contains(user.login) %] @@ -867,35 +865,35 @@ [% END %] [% END %] - (edit) + ([% IF user.id %]edit[% ELSE %]show[% END %])
-
+
+ [% IF user.id %]
- +
+ [% INCLUDE global/userselect.html.tmpl + id => "newcc" + name => "newcc" + size => 30 + multiple => 5 + %]
- [% INCLUDE global/userselect.html.tmpl - id => "newcc" - name => "newcc" - size => 30 - multiple => 5 - %] -
- [% IF bug.cc %] - - [% IF user.id %] -
- - [%%] -
+ [% IF bug.cc %] + + [% IF user.id %] +
+ + [%%] +
+ [% END %] [% END %] - [% END %]
- [% END %] [% END %] [%############################################################################%] @@ -1167,23 +1164,3 @@ [% value = undef %] [% spellcheck = undef %] [% END %] - -[%############################################################################%] -[%# Block for user identities. Wraps the information inside of an hCard. #%] -[%############################################################################%] - -[% BLOCK user_identity %] - - [% FILTER collapse %] - [% IF user.name %] - - [% ELSE %] - - [% END %] - [% END %] -[% END %] - -- cgit v1.2.3-24-g4f1b