summaryrefslogtreecommitdiffstats
path: root/extensions/BugModal
diff options
context:
space:
mode:
authorVladimir Panteleev <github.private@thecybershadow.net>2018-03-18 06:00:50 +0100
committerDylan William Hardison <dylan@hardison.net>2018-03-18 06:00:50 +0100
commit759243934df6a3a1d4bcfacc58ce842206923731 (patch)
tree759dc4f1b24c6f33c30f1ee787a99acde54df213 /extensions/BugModal
parent38c94eb24d045f086e257c095113ad39ce603e65 (diff)
downloadbugzilla-759243934df6a3a1d4bcfacc58ce842206923731.tar.gz
bugzilla-759243934df6a3a1d4bcfacc58ce842206923731.tar.xz
Bug 1446236 - Allow customizing the name of the "nobody" user (nobody@mozilla.org)
Diffstat (limited to 'extensions/BugModal')
-rw-r--r--extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl2
1 files changed, 1 insertions, 1 deletions
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