From b5371ee9bbbd3ef89ad06493bf981ee18cba0f5a Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Mon, 23 Sep 2013 11:55:39 +0800 Subject: Bug 919376: needinfo should only display the real name --- extensions/Needinfo/template/en/default/bug/needinfo.html.tmpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'extensions') 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; } -- cgit v1.2.3-24-g4f1b