summaryrefslogtreecommitdiffstats
path: root/extensions/Review/template/en/default/hook/account/prefs/account-field.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/Review/template/en/default/hook/account/prefs/account-field.html.tmpl')
-rw-r--r--extensions/Review/template/en/default/hook/account/prefs/account-field.html.tmpl26
1 files changed, 26 insertions, 0 deletions
diff --git a/extensions/Review/template/en/default/hook/account/prefs/account-field.html.tmpl b/extensions/Review/template/en/default/hook/account/prefs/account-field.html.tmpl
new file mode 100644
index 000000000..baf3a6b94
--- /dev/null
+++ b/extensions/Review/template/en/default/hook/account/prefs/account-field.html.tmpl
@@ -0,0 +1,26 @@
+[%# 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>
+ [%# this section is shared by both the needinfo and review extensions %]
+ [%# only show the label once %]
+ [% IF request_blocked_header %]
+ <td></td>
+ [% ELSE %]
+ [% request_blocked_header = 1 %]
+ <th align="right" valign="top">Request blocking:</th>
+ [% END %]
+ <td>
+ <input type="checkbox" id="block_reviews" name="block_reviews" value="1"
+ [% " checked" IF user.settings.block_reviews.value == "on" %]
+ >
+ <label for="block_reviews">
+ Block review and feedback requests
+ </label>
+ </td>
+</tr>