summaryrefslogtreecommitdiffstats
path: root/extensions/Review/template
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-07-15 09:02:19 +0200
committerByron Jones <glob@mozilla.com>2015-07-15 09:02:19 +0200
commite2635d9f405ec8b6f22b58d2ec1ec72c22d91df2 (patch)
treec502cfb9479ee53c811d0e0cb5dd0e590ea7ce94 /extensions/Review/template
parent7a87266845224adb56547f775ddbb01914a73d7f (diff)
downloadbugzilla-e2635d9f405ec8b6f22b58d2ec1ec72c22d91df2.tar.gz
bugzilla-e2635d9f405ec8b6f22b58d2ec1ec72c22d91df2.tar.xz
Bug 1183975 - limit the number of accounts a new user can add to any multi-user field
Diffstat (limited to 'extensions/Review/template')
-rw-r--r--extensions/Review/template/en/default/hook/global/user-error-errors.html.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/extensions/Review/template/en/default/hook/global/user-error-errors.html.tmpl b/extensions/Review/template/en/default/hook/global/user-error-errors.html.tmpl
index aafdb5445..4b8b7dcbf 100644
--- a/extensions/Review/template/en/default/hook/global/user-error-errors.html.tmpl
+++ b/extensions/Review/template/en/default/hook/global/user-error-errors.html.tmpl
@@ -34,4 +34,8 @@
[% requestee.identity FILTER html %] is not currently accepting
'[% flagtype FILTER html %]' requests.
+[% ELSIF error == "mentor_limit_exceeded" %]
+ [% title = "Too Many Mentors" %]
+ You cannot add more than [% limit FILTER html %] mentors to a [% terms.bug %].
+
[% END %]