summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug/process/results.html.tmpl
blob: cdebfed5eddb3f24a927df0c77a66e5bc14e5281 (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
40
41
42
43
44
45
[%# 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.
  #%]

[%# 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.
  #%]

[% UNLESS header_done %]
  [% PROCESS bug/process/header.html.tmpl %]
[% END %]

[% DEFAULT type="bug" %]

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

[%
  title = {
    '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" ,
  }
%]

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

<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>