summaryrefslogtreecommitdiffstats
path: root/extensions/Review/template/en/default/hook
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-08-02 08:14:46 +0200
committerByron Jones <bjones@mozilla.com>2013-08-02 08:14:46 +0200
commitbb2b65b5d51cdbb022543d4e16a57005dff33eb2 (patch)
treeff02d60c581bcef7d1a50e3474ea414dbad76060 /extensions/Review/template/en/default/hook
parent57c28359e43b7ac6620bcdb06cb5854b371aaedc (diff)
downloadbugzilla-bb2b65b5d51cdbb022543d4e16a57005dff33eb2.tar.gz
bugzilla-bb2b65b5d51cdbb022543d4e16a57005dff33eb2.tar.xz
Bug 896320: increase the visibility of review suggestions (report, webservice)
Diffstat (limited to 'extensions/Review/template/en/default/hook')
-rw-r--r--extensions/Review/template/en/default/hook/global/user-error-errors.html.tmpl6
-rw-r--r--extensions/Review/template/en/default/hook/reports/menu-end.html.tmpl16
2 files changed, 22 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 4265f4b32..856ff3c75 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
@@ -9,4 +9,10 @@
[% IF error == "reviewer_required" %]
[% title = "Reviewer Required" %]
You must provide a reviewer for review requests.
+
+[% ELSIF error == "reviewer_suggestions_param_required" %]
+ [% title = "Parameter Required" %]
+ You must provide either a bug_id, or a product (and optionally a
+ component).
+
[% END %]
diff --git a/extensions/Review/template/en/default/hook/reports/menu-end.html.tmpl b/extensions/Review/template/en/default/hook/reports/menu-end.html.tmpl
new file mode 100644
index 000000000..7396e4fcb
--- /dev/null
+++ b/extensions/Review/template/en/default/hook/reports/menu-end.html.tmpl
@@ -0,0 +1,16 @@
+[%# This Source Code Form is subject to the terms of the Mozilla Public
+ # License, v. 2.0. If a copy of the MPL was not distributed with this
+ # file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ #
+ # This Source Code Form is "Incompatible With Secondary Licenses", as
+ # defined by the Mozilla Public License, v. 2.0.
+ #%]
+
+<ul>
+ <li>
+ <strong>
+ <a href="[% urlbase FILTER none %]page.cgi?id=review_suggestions.html">Suggested Reviers</a>
+ </strong> - All suggestions for the "review" flag.
+ </li>
+</ul>
+