From 01db31261bcaa73dfeb6c287c1a22ece47d119eb Mon Sep 17 00:00:00 2001 From: Dave Lawrence Date: Sat, 11 Jan 2014 12:12:42 -0500 Subject: Bug 936165 - Allow for privileged users to edit past comments and preserve comment history (BMO extension) r=glob --- .../hook/global/user-error-auth_failure_object.html.tmpl | 11 +++++++++++ .../en/default/hook/global/user-error-errors.html.tmpl | 12 ++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 extensions/EditComments/template/en/default/hook/global/user-error-auth_failure_object.html.tmpl create mode 100644 extensions/EditComments/template/en/default/hook/global/user-error-errors.html.tmpl (limited to 'extensions/EditComments/template/en/default/hook/global') diff --git a/extensions/EditComments/template/en/default/hook/global/user-error-auth_failure_object.html.tmpl b/extensions/EditComments/template/en/default/hook/global/user-error-auth_failure_object.html.tmpl new file mode 100644 index 000000000..4325aab30 --- /dev/null +++ b/extensions/EditComments/template/en/default/hook/global/user-error-auth_failure_object.html.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. + #%] + +[% IF object == 'editcomments' %] + edit comments +[% END %] diff --git a/extensions/EditComments/template/en/default/hook/global/user-error-errors.html.tmpl b/extensions/EditComments/template/en/default/hook/global/user-error-errors.html.tmpl new file mode 100644 index 000000000..bc02b52f0 --- /dev/null +++ b/extensions/EditComments/template/en/default/hook/global/user-error-errors.html.tmpl @@ -0,0 +1,12 @@ +[%# 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 == "edit_comment_invalid_comment_id" %] + [% title = "Invalid Comment ID" %] + The comment id '[% comment_id FILTER html %]' is invalid. +[% END %] -- cgit v1.2.3-24-g4f1b