From e2635d9f405ec8b6f22b58d2ec1ec72c22d91df2 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Wed, 15 Jul 2015 15:02:19 +0800 Subject: Bug 1183975 - limit the number of accounts a new user can add to any multi-user field --- .../template/en/default/hook/global/user-error-errors.html.tmpl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'extensions/Review/template/en/default/hook/global/user-error-errors.html.tmpl') 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 %] -- cgit v1.2.3-24-g4f1b