summaryrefslogtreecommitdiffstats
path: root/extensions/Review/template/en/default
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/Review/template/en/default')
-rw-r--r--extensions/Review/template/en/default/hook/global/header-start.html.tmpl1
-rw-r--r--extensions/Review/template/en/default/hook/global/user-error-errors.html.tmpl6
2 files changed, 7 insertions, 0 deletions
diff --git a/extensions/Review/template/en/default/hook/global/header-start.html.tmpl b/extensions/Review/template/en/default/hook/global/header-start.html.tmpl
index a1ced8108..8bc72ecdb 100644
--- a/extensions/Review/template/en/default/hook/global/header-start.html.tmpl
+++ b/extensions/Review/template/en/default/hook/global/header-start.html.tmpl
@@ -43,6 +43,7 @@
review_suggestions = {
_mentors: [
[% FOREACH u = mentors %]
+ [% NEXT IF NOT u.is_active %]
[% PROCESS reviewer %][% "," UNLESS loop.last %]
[% END %]
],
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 112751076..aafdb5445 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
@@ -10,6 +10,12 @@
[% title = "Reviewer Required" %]
You must provide a reviewer for review requests.
+[% ELSIF error == "reviewer_inactive" %]
+ [% title = "Reviewer Is Inactive" %]
+ You can't ask <em>[% reviewer.identity FILTER html %]</em> for a review
+ because they have not logged in to [% terms.Bugzilla %] within the last
+ [%+ timeout FILTER none %] days.
+
[% ELSIF error == "reviewer_suggestions_param_required" %]
[% title = "Parameter Required" %]
You must provide either a bug_id, or a product (and optionally a