summaryrefslogtreecommitdiffstats
path: root/extensions/Example/template/en/default/hook/global/user-error-errors.html.tmpl
blob: 33c77e44db0ce2067b280df24adf2debd48f8290 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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 error == "example_my_error" %]
   [% title = "Example Error Title" %]
   This is the error message! It contains <em>some html</em>.
[% ELSIF error == "example_short_desc_invalid" %]
  [% title = "Bad Summary" %]
  The Summary must contain the word "example".
[% END %]