summaryrefslogtreecommitdiffstats
path: root/extensions/PhabBugz/template/en/default/revision
diff options
context:
space:
mode:
authordklawren <dklawren@users.noreply.github.com>2018-08-06 18:18:59 +0200
committerDylan William Hardison <dylan@hardison.net>2018-08-06 18:18:58 +0200
commitcb1223bd72daac8a25e4082e540021940fb8dd4d (patch)
tree1788febaa7ed747ad11f3e1d6e9fec6f8516c7ea /extensions/PhabBugz/template/en/default/revision
parent97b81755333e915201360521416f831484b3b8fb (diff)
downloadbugzilla-cb1223bd72daac8a25e4082e540021940fb8dd4d.tar.gz
bugzilla-cb1223bd72daac8a25e4082e540021940fb8dd4d.tar.xz
Bug 1478897 - ensure phabbugs doesn't fail outright when encountering invalid bug ids
Diffstat (limited to 'extensions/PhabBugz/template/en/default/revision')
-rw-r--r--extensions/PhabBugz/template/en/default/revision/comments.html.tmpl14
1 files changed, 14 insertions, 0 deletions
diff --git a/extensions/PhabBugz/template/en/default/revision/comments.html.tmpl b/extensions/PhabBugz/template/en/default/revision/comments.html.tmpl
new file mode 100644
index 000000000..b18daf376
--- /dev/null
+++ b/extensions/PhabBugz/template/en/default/revision/comments.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 message == "invalid_bug_id" %]
+Revision is being kept private due to invalid [% terms.bug %] ID
+or author does not have access to the [% terms.bug %]. Either remove
+the [% terms.bug %] ID, automatically making the revision public, or
+enter the correct [% terms.bug %] ID for this revision.
+[% END %] \ No newline at end of file