From 5da2405e4fbdc336643f37345cf0ae7ae5f71117 Mon Sep 17 00:00:00 2001 From: Dave Lawrence Date: Tue, 3 Jul 2012 17:54:39 -0400 Subject: Bug 684171 - add a "(take)" link to the QA Contact field --- template/en/default/bug/edit.html.tmpl | 40 +++++++++++++++++++--------------- 1 file changed, 22 insertions(+), 18 deletions(-) (limited to 'template') diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index eb6a3a446..dd19d547a 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -489,36 +489,40 @@ [% 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"] %]
[% ELSE %] -- cgit v1.2.3-24-g4f1b