4 - The contents of this file are subject to the Mozilla Public
5 - License Version 1.1 (the "License"); you may not use this file
6 - except in compliance with the License. You may obtain a copy of
7 - the License at http://www.mozilla.org/MPL/
9 - Software distributed under the License is distributed on an "AS
10 - IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
11 - implied. See the License for the specific language governing
12 - rights and limitations under the License.
14 - The Original Code is the Bugzilla Bug Tracking System.
16 - The Initial Developer of the Original Code is Netscape Communications
17 - Corporation. Portions created by Netscape are
18 - Copyright (C) 1998 Netscape Communications Corporation. All
21 - Contributor(s): Myk Melez <myk@mozilla.org>
26 <!ENTITY idColumn.label
"ID">
27 <!ENTITY duplicateCountColumn.label
"Count">
28 <!ENTITY duplicateDeltaColumn.label
"Delta">
29 <!ENTITY componentColumn.label
"Component">
30 <!ENTITY severityColumn.label
"Severity">
31 <!ENTITY osColumn.label
"OS">
32 <!ENTITY targetMilestoneColumn.label
"Milestone">
33 <!ENTITY summaryColumn.label
"Summary">
36 <?xml-stylesheet href=
"chrome://global/skin/" type=
"text/css"?>
37 <?xml-stylesheet href=
"skins/standard/duplicates.css" type=
"text/css"?>
39 <window id=
"duplicates_report"
40 xmlns:
html=
"http://www.w3.org/1999/xhtml"
41 xmlns=
"http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
42 title=
"Duplicates Report">
44 // Code for populating the tree from the RDF data source
45 // and loading bug reports when the user selects rows in the tree.
46 <script type=
"application/x-javascript" src=
"js/duplicates.js" />
48 <tree id=
"results-tree" flex=
"1"
49 flags=
"dont-build-content"
50 enableColumnDrag=
"true"
51 datasources=
"rdf:null"
53 onselect=
"loadBugInPane();"
54 ondblclick=
"loadBugInWindow();">
56 <treecol id=
"id_column" label=
"&idColumn.label;" primary=
"true" sort=
"?id"
57 persist=
"width hidden sortActive sortDirection ordinal" />
58 <splitter class=
"tree-splitter"/>
60 <treecol id=
"duplicate_count_column" label=
"&duplicateCountColumn.label;" sort=
"?duplicate_count"
61 sortActive=
"true" sortDirection=
"descending"
62 persist=
"width hidden sortActive sortDirection ordinal" />
63 <splitter class=
"tree-splitter" />
65 <treecol id=
"duplicate_delta_column" label=
"&duplicateDeltaColumn.label;" sort=
"?duplicate_delta"
66 persist=
"width hidden sortActive sortDirection ordinal" />
67 <splitter class=
"tree-splitter"/>
69 <treecol id=
"component_column" label=
"&componentColumn.label;" flex=
"3" sort=
"?component"
70 persist=
"width hidden sortActive sortDirection ordinal" />
71 <splitter class=
"tree-splitter"/>
73 <treecol id=
"severity_column" label=
"&severityColumn.label;" flex=
"1" sort=
"?severity"
74 persist=
"width hidden sortActive sortDirection ordinal" />
75 <splitter class=
"tree-splitter"/>
77 <treecol id=
"os_column" label=
"&osColumn.label;" flex=
"2" sort=
"?os"
78 persist=
"width hidden sortActive sortDirection ordinal" />
79 <splitter class=
"tree-splitter"/>
81 <treecol id=
"target_milestone_column" label=
"&targetMilestoneColumn.label;" flex=
"1" sort=
"?target_milestone"
82 persist=
"width hidden sortActive sortDirection ordinal" />
83 <splitter class=
"tree-splitter"/>
85 <treecol id=
"summary_column" label=
"&summaryColumn.label;" flex=
"12" sort=
"?summary"
86 persist=
"width hidden sortActive sortDirection ordinal" />
91 <treeitem uri=
"?uri" />
92 <triple subject=
"?uri" predicate=
"http://www.bugzilla.org/rdf#bugs" object=
"?bugs" />
93 <member container=
"?bugs" child=
"?bug" />
94 <triple subject=
"?bug" predicate=
"http://www.bugzilla.org/rdf#id" object=
"?id" />
97 <binding subject=
"?bug" predicate=
"http://www.bugzilla.org/rdf#duplicate_count" object=
"?duplicate_count" />
98 <binding subject=
"?bug" predicate=
"http://www.bugzilla.org/rdf#duplicate_delta" object=
"?duplicate_delta" />
99 <binding subject=
"?bug" predicate=
"http://www.bugzilla.org/rdf#component" object=
"?component" />
100 <binding subject=
"?bug" predicate=
"http://www.bugzilla.org/rdf#severity" object=
"?severity" />
101 <binding subject=
"?bug" predicate=
"http://www.bugzilla.org/rdf#priority" object=
"?priority" />
102 <binding subject=
"?bug" predicate=
"http://www.bugzilla.org/rdf#os" object=
"?os" />
103 <binding subject=
"?bug" predicate=
"http://www.bugzilla.org/rdf#target_milestone" object=
"?target_milestone" />
104 <binding subject=
"?bug" predicate=
"http://www.bugzilla.org/rdf#summary" object=
"?summary" />
105 <binding subject=
"?bug" predicate=
"http://www.bugzilla.org/rdf#resolution" object=
"?resolution" />
109 <treeitem uri=
"?bug">
110 <treerow properties=
"resolution-?resolution">
111 <treecell ref=
"id_column" label=
"?id" properties=
"resolution-?resolution" />
112 <treecell ref=
"duplicate_count_column" label=
"?duplicate_count" properties=
"resolution-?resolution" />
113 <treecell ref=
"duplicate_delta_column" label=
"?duplicate_delta" properties=
"resolution-?resolution" />
114 <treecell ref=
"component_column" label=
"?component" properties=
"resolution-?resolution" />
115 <treecell ref=
"severity_column" label=
"?severity" properties=
"resolution-?resolution" />
116 <treecell ref=
"os_column" label=
"?os" properties=
"resolution-?resolution" />
117 <treecell ref=
"target_milestone_column" label=
"?target_milestone" properties=
"resolution-?resolution" />
118 <treecell ref=
"summary_column" label=
"?summary" properties=
"resolution-?resolution" />
127 <splitter id=
"report-content-splitter" collapse=
"after" state=
"open" persist=
"state">
131 <iframe id=
"content-browser" src=
"about:blank" flex=
"2" persist=
"height" />