From ab86aba0236ca96d58d75b839c003f093a12a297 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Tue, 25 Feb 2014 14:31:55 +0800 Subject: Bug 975943: add special support for a "deleted" comment tag --- .../hook/admin/params/editparams-current_panel.html.tmpl | 13 +++++++++++++ .../hook/global/user-error-auth_failure_object.html.tmpl | 10 ++++++++++ 2 files changed, 23 insertions(+) create mode 100644 extensions/BMO/template/en/default/hook/admin/params/editparams-current_panel.html.tmpl (limited to 'extensions/BMO/template/en') diff --git a/extensions/BMO/template/en/default/hook/admin/params/editparams-current_panel.html.tmpl b/extensions/BMO/template/en/default/hook/admin/params/editparams-current_panel.html.tmpl new file mode 100644 index 000000000..39f063464 --- /dev/null +++ b/extensions/BMO/template/en/default/hook/admin/params/editparams-current_panel.html.tmpl @@ -0,0 +1,13 @@ +[%# 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 panel.name == "groupsecurity" %] + [% panel.param_descs.delete_comments_group = + 'The name of the group of users who can delete comments by using the "deleted" comment tag.' + %] +[% END -%] diff --git a/extensions/BMO/template/en/default/hook/global/user-error-auth_failure_object.html.tmpl b/extensions/BMO/template/en/default/hook/global/user-error-auth_failure_object.html.tmpl index ce855ad97..bf46ed895 100644 --- a/extensions/BMO/template/en/default/hook/global/user-error-auth_failure_object.html.tmpl +++ b/extensions/BMO/template/en/default/hook/global/user-error-auth_failure_object.html.tmpl @@ -1,7 +1,17 @@ +[%# 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 object == 'group_admins' %] the group administrators report [% ELSIF object == 'email_queue' %] the email queue status report [% ELSIF object == 'product_security' %] the product security report +[% ELSIF object == 'comments' %] + comments [% END %] -- cgit v1.2.3-24-g4f1b