summaryrefslogtreecommitdiffstats
path: root/extensions/Needinfo
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-09-23 05:55:39 +0200
committerByron Jones <bjones@mozilla.com>2013-09-23 05:55:39 +0200
commitb5371ee9bbbd3ef89ad06493bf981ee18cba0f5a (patch)
treedb4faa05ac6facebaeebcde7b55c4e2ebc5894ad /extensions/Needinfo
parentb89586bf6b1553836e65784fd2b88137a8d6e8e7 (diff)
downloadbugzilla-b5371ee9bbbd3ef89ad06493bf981ee18cba0f5a.tar.gz
bugzilla-b5371ee9bbbd3ef89ad06493bf981ee18cba0f5a.tar.xz
Bug 919376: needinfo should only display the real name
Diffstat (limited to 'extensions/Needinfo')
-rw-r--r--extensions/Needinfo/template/en/default/bug/needinfo.html.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/Needinfo/template/en/default/bug/needinfo.html.tmpl b/extensions/Needinfo/template/en/default/bug/needinfo.html.tmpl
index cfe4b5b7f..1bd01b58b 100644
--- a/extensions/Needinfo/template/en/default/bug/needinfo.html.tmpl
+++ b/extensions/Needinfo/template/en/default/bug/needinfo.html.tmpl
@@ -73,11 +73,11 @@
YAHOO.util.Dom.get('needinfo_from').disabled = true;
var identity = '';
if (role == 'reporter') {
- identity = '[% bug.reporter.identity FILTER html FILTER js %]';
+ identity = '[% bug.reporter.realname || bug.reporter.login FILTER html FILTER js %]';
} else if (role == 'assigned_to') {
- identity = '[% bug.assigned_to.identity FILTER html FILTER js %]';
+ identity = '[% bug.assigned_to.realname || bug.reporter.login FILTER html FILTER js %]';
} else if (role == 'qa_contact') {
- identity = '[% bug.qa_contact.identity FILTER html FILTER js %]';
+ identity = '[% bug.qa_contact.realname || bug.reporter.login FILTER html FILTER js %]';
}
YAHOO.util.Dom.get('needinfo_role_identity').innerHTML = identity;
}