results.html.tmpl 1.4 KB
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 14 15 16
  #%]

[%# INTERFACE:
  # id: number; the ID of the bug that was changed/checked.
  #
  # type: string; the type of change/check that was made: "bug" when a bug
  #   is changed, "dupe" when a duplication notation is added to a bug,
  #   and "dep" when a bug is checked for changes to its dependencies.
  #%]

17 18 19 20
[% UNLESS header_done %]
  [% PROCESS bug/process/header.html.tmpl %]
[% END %]

21 22
[% DEFAULT type="bug" %]

23 24 25
[% Link = BLOCK %][% "$terms.Bug $id" FILTER bug_link(id) %][% END %]
[% link = BLOCK %][% "$terms.bug $id" FILTER bug_link(id) %][% END %]

26
[%
27
  title = {
28 29 30 31 32
    'bug' => "Changes submitted for $link" ,
    'dupe' => "Duplicate notation added to $link" ,
    'dep' => "Checking for dependency changes on $link" ,
    'created' => "$Link has been added to the database" ,
    'move' => "$Link has been moved to another database" ,
33
  }
34 35
%]

36 37
[% Hook.process('title') %]

38 39 40 41 42 43 44 45
<dl>
  <dt>[% title.$type %]</dt>
  <dd>
    [% PROCESS "bug/process/bugmail.html.tmpl" mailing_bugid = id %]
    [%# Links to more information about the changed bug. %]
    [% Hook.process("links") %]
  </dd>
</dl>