summaryrefslogtreecommitdiffstats
path: root/extensions/PhabBugz/template/en/default/hook/global/user-error-errors.html.tmpl
blob: 1457e352553224544a5c859c22d54fd6dbd6012e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[%# 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 == "invalid_phabricator_uri" %]
  [% title = "Invalid Phabricator URI" %]
  You must provide a valid Phabricator URI.

[% ELSIF error == "invalid_phabricator_api_key" %]
  [% title = "Invalid Phabricator API Key" %]
  You must provide a valid Phabricator API Key.

[% ELSIF error == "invalid_phabricator_sync_groups" %]
  [% title = "Invalid Phabricator Sync Groups" %]
  You must provide a comma delimited list of security groups
  to sync with Phabricator.

[% ELSIF error == "invalid_phabricator_revision_id" %]
  [% title = "Invalid Phabricator Revision ID" %]
  You must provide a valid Phabricator revision ID.

[% ELSIF error == "phabricator_not_enabled" %]
  [% title = "Phabricator Support Not Enabled" %]
  The Phabricator to Bugzilla library, PhabBugz,
  is not enabled in Bugzilla.

[% ELSIF error == "phabricator_invalid_request_params" %]
  [% title = "Incomplete Information Provided by Phabricator" %]
  The parameters 'user_id' and '[% terms.bug %]_id' must be provided.

[% ELSIF error == "phabricator_unauthorized_user" %]
  [% title = "Unauthorized User" %]
  You do not have permission to use this endpoint.

[% END %]