summaryrefslogtreecommitdiffstats
path: root/extensions/Needinfo/template/en/default
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2014-04-02 16:30:59 +0200
committerByron Jones <glob@mozilla.com>2014-04-02 16:30:59 +0200
commit21241a59e58bb6b3b740bf9f37a964b08a1d0818 (patch)
tree8c068cf96d249d41aa9cd7d6c08b726cea6536d3 /extensions/Needinfo/template/en/default
parentb9793ff0f4ad8d2ec4b26a8216e0484d5accf79f (diff)
downloadbugzilla-21241a59e58bb6b3b740bf9f37a964b08a1d0818.tar.gz
bugzilla-21241a59e58bb6b3b740bf9f37a964b08a1d0818.tar.xz
Bug 988175: Needinfo dropdown should include "myself"
Diffstat (limited to 'extensions/Needinfo/template/en/default')
-rw-r--r--extensions/Needinfo/template/en/default/bug/needinfo.html.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/extensions/Needinfo/template/en/default/bug/needinfo.html.tmpl b/extensions/Needinfo/template/en/default/bug/needinfo.html.tmpl
index 0755d449d..87dea003c 100644
--- a/extensions/Needinfo/template/en/default/bug/needinfo.html.tmpl
+++ b/extensions/Needinfo/template/en/default/bug/needinfo.html.tmpl
@@ -97,6 +97,8 @@
identity = '[% bug.assigned_to.realname || bug.assigned_to.login FILTER html FILTER js %]';
} else if (role == 'qa_contact') {
identity = '[% bug.qa_contact.realname || bug.qa_contact.login FILTER html FILTER js %]';
+ } else if (role == 'user') {
+ identity = '[% user.realname || user.login FILTER html FILTER js %]';
}
YAHOO.util.Dom.get('needinfo_role_identity').innerHTML = identity;
}
@@ -134,6 +136,7 @@
[% IF Param('useqacontact') && bug.qa_contact.login != "" %]
<option value="qa_contact">qa contact</option>
[% END %]
+ <option value="user">myself</option>
<option value="">anyone</option>
</select>
<span id="needinfo_from_container">