summaryrefslogtreecommitdiffstats
path: root/extensions/RequestNagger/template/en/default/hook
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-10-29 06:32:25 +0100
committerByron Jones <bjones@mozilla.com>2013-10-29 06:32:25 +0100
commit4c09622b4432820e49795345a747e530e5aa0764 (patch)
tree6fc3203ae7296de1fadadf1fce06d6644c4debfc /extensions/RequestNagger/template/en/default/hook
parent9b6f5d07a80ff630ed76108e0ca9689b4e2410f5 (diff)
downloadbugzilla-4c09622b4432820e49795345a747e530e5aa0764.tar.gz
bugzilla-4c09622b4432820e49795345a747e530e5aa0764.tar.xz
Bug 892615: Add a 24 hour nag to all requests (review, feedback and need-info) and make them follow-able
Diffstat (limited to 'extensions/RequestNagger/template/en/default/hook')
-rw-r--r--extensions/RequestNagger/template/en/default/hook/account/prefs/prefs-tabs.html.tmpl14
-rw-r--r--extensions/RequestNagger/template/en/default/hook/admin/products/edit-common-rows.html.tmpl16
-rw-r--r--extensions/RequestNagger/template/en/default/hook/admin/products/updated-changes.html.tmpl14
-rw-r--r--extensions/RequestNagger/template/en/default/hook/bug/show-header-end.html.tmpl9
-rw-r--r--extensions/RequestNagger/template/en/default/hook/global/setting-descs-settings.none.tmpl11
-rw-r--r--extensions/RequestNagger/template/en/default/hook/global/user-error-errors.html.tmpl25
6 files changed, 89 insertions, 0 deletions
diff --git a/extensions/RequestNagger/template/en/default/hook/account/prefs/prefs-tabs.html.tmpl b/extensions/RequestNagger/template/en/default/hook/account/prefs/prefs-tabs.html.tmpl
new file mode 100644
index 000000000..ed3e29c64
--- /dev/null
+++ b/extensions/RequestNagger/template/en/default/hook/account/prefs/prefs-tabs.html.tmpl
@@ -0,0 +1,14 @@
+[%# 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.
+ #%]
+
+[% tabs = tabs.import([{
+ name => "request_nagging",
+ label => "Request Reminders",
+ link => "userprefs.cgi?tab=request_nagging",
+ saveable => 1
+ }]) %]
diff --git a/extensions/RequestNagger/template/en/default/hook/admin/products/edit-common-rows.html.tmpl b/extensions/RequestNagger/template/en/default/hook/admin/products/edit-common-rows.html.tmpl
new file mode 100644
index 000000000..795ca2ec0
--- /dev/null
+++ b/extensions/RequestNagger/template/en/default/hook/admin/products/edit-common-rows.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.
+ #%]
+
+<tr>
+ <th align="right">Remind for outstanding requests after:</th>
+ <td>
+ <input name="nag_interval" size="5"
+ value="[% product.id ? product.nag_interval / 24 : 7 %]">
+ days (Setting this to 0 disables request reminding).
+ </td>
+</tr>
diff --git a/extensions/RequestNagger/template/en/default/hook/admin/products/updated-changes.html.tmpl b/extensions/RequestNagger/template/en/default/hook/admin/products/updated-changes.html.tmpl
new file mode 100644
index 000000000..9baccce86
--- /dev/null
+++ b/extensions/RequestNagger/template/en/default/hook/admin/products/updated-changes.html.tmpl
@@ -0,0 +1,14 @@
+[%# 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.
+ #%]
+
+[% IF changes.nag_interval.defined %]
+ <p>
+ Changed request reminder interval from '[% changes.nag_interval.0 / 24 FILTER html %]' to
+ '[% product.nag_interval / 24 FILTER html %]'.
+ </p>
+[% END %]
diff --git a/extensions/RequestNagger/template/en/default/hook/bug/show-header-end.html.tmpl b/extensions/RequestNagger/template/en/default/hook/bug/show-header-end.html.tmpl
new file mode 100644
index 000000000..d91877dba
--- /dev/null
+++ b/extensions/RequestNagger/template/en/default/hook/bug/show-header-end.html.tmpl
@@ -0,0 +1,9 @@
+[%# 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.
+ #%]
+
+[% style_urls.push("extensions/RequestNagger/web/requestnagger.css") %]
diff --git a/extensions/RequestNagger/template/en/default/hook/global/setting-descs-settings.none.tmpl b/extensions/RequestNagger/template/en/default/hook/global/setting-descs-settings.none.tmpl
new file mode 100644
index 000000000..aaec920a9
--- /dev/null
+++ b/extensions/RequestNagger/template/en/default/hook/global/setting-descs-settings.none.tmpl
@@ -0,0 +1,11 @@
+[%# 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.
+ #%]
+
+[%
+ setting_descs.request_nagging = "Send me reminders for outstanding requests"
+%]
diff --git a/extensions/RequestNagger/template/en/default/hook/global/user-error-errors.html.tmpl b/extensions/RequestNagger/template/en/default/hook/global/user-error-errors.html.tmpl
new file mode 100644
index 000000000..12ef38370
--- /dev/null
+++ b/extensions/RequestNagger/template/en/default/hook/global/user-error-errors.html.tmpl
@@ -0,0 +1,25 @@
+[%# 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.
+ #%]
+
+[% IF error == "request_nagging_flag_invalid" %]
+ [% title = "Invalid Flag" %]
+ Invalid or missing Flag ID
+
+[% ELSIF error == "request_nagging_flag_set" %]
+ [% title = "Flag Already Set" %]
+ The requested Flag has been set, and is no longer pending.
+
+[% ELSIF error == "request_nagging_flag_wind" %]
+ [% title = "No Requestee" %]
+ The requested Flag does not have a requestee, and cannot be deferred.
+
+[% ELSIF error == "request_nagging_flag_not_owned" %]
+ [% title = "Not The Requestee" %]
+ You cannot defer Flags unless you are the requestee.
+
+[% END %]