From def7903801fcdbab2f227688375f38c5cb490f27 Mon Sep 17 00:00:00 2001 From: "bugreport%peshkin.net" <> Date: Wed, 11 Aug 2004 12:08:10 +0000 Subject: Bug 251669: add an option to show users in a drop down menu instead of a text edit field patch by glob r=joel a=justdave --- template/en/default/bug/create/create.html.tmpl | 15 ++++++++++++--- template/en/default/bug/edit.html.tmpl | 17 ++++++++++++++--- template/en/default/bug/knob.html.tmpl | 15 +++++++++------ 3 files changed, 35 insertions(+), 12 deletions(-) (limited to 'template/en/default/bug') diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl index 3364649e8..ecb3dd8c9 100644 --- a/template/en/default/bug/create/create.html.tmpl +++ b/template/en/default/bug/create/create.html.tmpl @@ -185,8 +185,12 @@ function set_assign_to() { - + [% INCLUDE global/userselect.html.tmpl + name => "assigned_to" + value => assigned_to + size => 32 + emptyok => 1 + %] @@ -194,7 +198,12 @@ function set_assign_to() { Cc: - + [% INCLUDE global/userselect.html.tmpl + name => "cc" + value => cc + size => 45 + emptyok => 1 + %] diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index ef6b551fa..f4c68bb4d 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -163,7 +163,13 @@ Add CC: - + [% INCLUDE global/userselect.html.tmpl + name => "newcc" + value => "" + accesskey => "a" + size => 30 + emptyok => 1 + %] @@ -270,8 +276,13 @@ QA Contact: - + [% INCLUDE global/userselect.html.tmpl + name => "qa_contact" + value => bug.qa_contact.email + accesskey => "q" + size => 60 + emptyok => 1 + %] [% END %] diff --git a/template/en/default/bug/knob.html.tmpl b/template/en/default/bug/knob.html.tmpl index b93f8099d..8ab0ce0ad 100644 --- a/template/en/default/bug/knob.html.tmpl +++ b/template/en/default/bug/knob.html.tmpl @@ -96,12 +96,15 @@ Reassign [% terms.bug %] to - + [% safe_assigned_to = FILTER js; bug.assigned_to.email; END %] + [% INCLUDE global/userselect.html.tmpl + name => "assigned_to" + value => bug.assigned_to.email + size => 32 + onchange => "if ((this.value != '$safe_assigned_to') && (this.value != '')) { + document.changeform.knob[$knum].checked=true; + }" + %]
[% IF bug.isunconfirmed && bug.user.canconfirm %]      -- cgit v1.2.3-24-g4f1b