From cd61d357d20a973e5ebdf3baeaecd9f38f9a6c7a Mon Sep 17 00:00:00 2001 From: Dave Lawrence Date: Tue, 31 Jul 2012 16:38:24 -0400 Subject: Bug 684171 - add a "(take)" link to the QA Contact field r/a=LpSolit --- template/en/default/bug/edit.html.tmpl | 41 +++++++++++++++++++--------------- 1 file changed, 23 insertions(+), 18 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 cc2ce8078..ef45ca252 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -421,36 +421,41 @@ [% IF bug.check_can_change_field("qa_contact", 0, 1) %] - [% IF bug.qa_contact != "" %] -
+
- - [% INCLUDE global/user.html.tmpl who = bug.qa_contact %] + [% INCLUDE global/user.html.tmpl who = bug.qa_contact %] (edit) + [% IF bug.qa_contact.id != user.id %] + (take) + [% END %]
- [% END %]
[% INCLUDE global/userselect.html.tmpl - id => "qa_contact" - name => "qa_contact" - value => bug.qa_contact.login - size => 30 - classes => ["bz_userfield"] - emptyok => 1 + id => "qa_contact" + name => "qa_contact" + value => bug.qa_contact.login + size => 30 + classes => ["bz_userfield"] + emptyok => 1 %]
[% ELSE %] -- cgit v1.2.3-24-g4f1b