summaryrefslogtreecommitdiffstats
path: root/extensions/Needinfo
diff options
context:
space:
mode:
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;
}