From 759243934df6a3a1d4bcfacc58ce842206923731 Mon Sep 17 00:00:00 2001 From: Vladimir Panteleev Date: Sun, 18 Mar 2018 07:00:50 +0200 Subject: Bug 1446236 - Allow customizing the name of the "nobody" user (nobody@mozilla.org) --- extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions/BugModal') diff --git a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl index b61e742b4..0b36c7d12 100644 --- a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl +++ b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl @@ -19,7 +19,7 @@ # these are used in a few places is_cced = bug.cc.contains(user.login); - unassigned = (bug.assigned_to.login == "nobody@mozilla.org") + unassigned = (bug.assigned_to.login == Bugzilla.params.nobody_user) || (bug.assigned_to.login.search('\.bugs$')); # custom fields that have custom rendering, or should not be rendered -- cgit v1.2.3-24-g4f1b