From 391ea1194f07461e99cd9f680a6960bd794cfc5d Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Sat, 12 Dec 2009 21:48:11 +0000 Subject: Bug 523788: Change the UI of describecomponents.cgi (the "Browse" interface) so that it's clearer and easier to use when browsing. Patch by Max Kanat-Alexander r=LpSolit, a=LpSolit --- template/en/default/filterexceptions.pl | 4 -- template/en/default/reports/components.html.tmpl | 55 +++++++++++++----------- 2 files changed, 31 insertions(+), 28 deletions(-) (limited to 'template') diff --git a/template/en/default/filterexceptions.pl b/template/en/default/filterexceptions.pl index 198521649..c4d0c064f 100644 --- a/template/en/default/filterexceptions.pl +++ b/template/en/default/filterexceptions.pl @@ -92,10 +92,6 @@ 'request.attach_id', ], -'reports/components.html.tmpl' => [ - 'numcols', -], - 'reports/duplicates-table.html.tmpl' => [ 'column.name', 'column.description', diff --git a/template/en/default/reports/components.html.tmpl b/template/en/default/reports/components.html.tmpl index 3fe609143..35f656a5a 100644 --- a/template/en/default/reports/components.html.tmpl +++ b/template/en/default/reports/components.html.tmpl @@ -16,6 +16,7 @@ # Rights Reserved. # # Contributor(s): Bradley Baetz + # Max Kanat-Alexander #%] [%# INTERFACE: @@ -27,7 +28,10 @@ Components for [% product.name FILTER html %] [% END %] -[% PROCESS global/header.html.tmpl title = title %] +[% PROCESS global/header.html.tmpl + style_urls = [ "skins/standard/reports.css" ] + title = title +%] [% IF Param("useqacontact") %] [% numcols = 3 %] @@ -35,30 +39,38 @@ [% numcols = 2 %] [% END %] + + + + + +
+ Select a component to see open [% terms.bugs %] in that component: + +

[% product.name FILTER html %]

+
+ [% product.description FILTER html_light %] +
+
-

[% product.name FILTER html %]: - [% product.description FILTER html_light %]

- -

Select a component to view open [% terms.bugs %] in that - component:

+

Components

- +
+ - - + + [% IF Param("useqacontact") %] - + [% END %] + + [% FOREACH comp = product.components %] [% INCLUDE describe_comp %] [% END %] - - - +
ComponentDefault Assignee Default AssigneeDefault QA ContactDefault QA Contact
-
-
[% PROCESS global/footer.html.tmpl %] @@ -69,29 +81,24 @@ [% BLOCK describe_comp %] - -
- - - - + [% comp.name FILTER html %] - + [% INCLUDE global/user.html.tmpl who = comp.default_assignee %] [% IF Param("useqacontact") %] - + [% INCLUDE global/user.html.tmpl who = comp.default_qa_contact %] [% END %] - + [% comp.description FILTER html_light %] -- cgit v1.2.1