message.html.tmpl 907 Bytes
Newer Older
1 2 3
[%# 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/.
4
  #
5 6
  # This Source Code Form is "Incompatible With Secondary Licenses", as
  # defined by the Mozilla Public License, v. 2.0.
7
  #%]
8

9 10 11 12 13
[%# INTERFACE:
  # url: string. An optional URL to go to.
  # link: string. The link text for that URL.
  #%]

14
[% DEFAULT title = "$terms.Bugzilla Message" %]
15

16
[% PROCESS global/header.html.tmpl %]
17

18 19
[%# The "header" template automatically displays a message if it finds one.
    Note that the global messages list is in messages.html.tmpl. %]
20

21
[%# Display a URL if the calling script or message block has included one. %]
22 23
[% IF url && link %]
  <p>
24
    <a href="[% url FILTER html %]">[% link FILTER html %]</a>
25 26 27
  </p>
[% END %]

28
[% PROCESS global/footer.html.tmpl %]