diff options
author | mkanat%bugzilla.org <> | 2009-06-02 05:49:21 +0200 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-06-02 05:49:21 +0200 |
commit | a778b485e088757d81606ff85aae2f39473c42f5 (patch) | |
tree | c44ac153d9ca3b622cfeb6f1454f118e669abe65 /template/en | |
parent | ee78f645f28436d5684d2ad252a637d8de68c6b7 (diff) | |
download | bugzilla-a778b485e088757d81606ff85aae2f39473c42f5.tar.gz bugzilla-a778b485e088757d81606ff85aae2f39473c42f5.tar.xz |
Bug 194272: Provide a way to browse bugs instead of searching for them
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=pyrzak, r=LpSolit, a=LpSolit
Diffstat (limited to 'template/en')
-rw-r--r-- | template/en/default/global/choose-product.html.tmpl | 8 | ||||
-rw-r--r-- | template/en/default/global/common-links.html.tmpl | 5 | ||||
-rw-r--r-- | template/en/default/reports/components.html.tmpl | 18 |
3 files changed, 19 insertions, 12 deletions
diff --git a/template/en/default/global/choose-product.html.tmpl b/template/en/default/global/choose-product.html.tmpl index 0a38db6af..2ce1ef497 100644 --- a/template/en/default/global/choose-product.html.tmpl +++ b/template/en/default/global/choose-product.html.tmpl @@ -31,15 +31,17 @@ [% IF target == "enter_bug.cgi" %] [% title = "Enter $terms.Bug" %] - [% subheader = BLOCK %]First, you must pick a product on which to enter [% terms.abug %]. [% END %] + [% h2 = BLOCK %]First, you must pick a product on which to enter [% terms.abug %]: [% END %] [% ELSIF target == "describecomponents.cgi" %] - [% title = "$terms.Bugzilla Component Descriptions" %] - [% subheader = "Please specify the product whose components you want described." %] + [% title = "$terms.Bugzilla: Browse" %] + [% h2 = "Select a product category to browse:" %] [% END %] [% DEFAULT title = "Choose a Product" %] [% PROCESS global/header.html.tmpl %] +<h2>[% h2 FILTER html %]</h2> + <table> [% FOREACH c = classifications %] diff --git a/template/en/default/global/common-links.html.tmpl b/template/en/default/global/common-links.html.tmpl index fa5b0b03a..8ab2a2b02 100644 --- a/template/en/default/global/common-links.html.tmpl +++ b/template/en/default/global/common-links.html.tmpl @@ -23,6 +23,7 @@ <ul class="links"> <li><a href="./">Home</a></li> <li><span class="separator">| </span><a href="enter_bug.cgi">New</a></li> + <li><span class="separator">| </span><a href="describecomponents.cgi">Browse</a></li> <li><span class="separator">| </span><a href="query.cgi">Search</a></li> <li class="form"> @@ -49,10 +50,6 @@ [% END %] [%-# Work around FF bug: keep this on one line %]</li> - [% IF user.id && Param('usevotes') %] - <li><span class="separator">| </span><a href="votes.cgi?action=show_user">My Votes</a></li> - [% END %] - [% IF user.login %] <li><span class="separator">| </span><a href="userprefs.cgi">Preferences</a></li> [% IF user.in_group('tweakparams') || user.in_group('editusers') || user.can_bless diff --git a/template/en/default/reports/components.html.tmpl b/template/en/default/reports/components.html.tmpl index eb08a35ac..3fe609143 100644 --- a/template/en/default/reports/components.html.tmpl +++ b/template/en/default/reports/components.html.tmpl @@ -19,7 +19,8 @@ #%] [%# INTERFACE: - # product: object. The product for which we want to display component descriptions. + # product: object. The product for which we want to display component + # descriptions. #%] [% title = BLOCK %] @@ -34,9 +35,12 @@ [% numcols = 2 %] [% END %] -<p> - [% product.description FILTER html_light %] -</p> + +<p><strong>[% product.name FILTER html %]</strong>: + [% product.description FILTER html_light %]</p> + +<p><em>Select a component to view open [% terms.bugs %] in that + component:</em></p> <table> <tr> @@ -71,7 +75,11 @@ </tr> <tr> <td rowspan="2"> - <a name="[% comp.name FILTER html %]">[% comp.name FILTER html %]</a> + <a name="[% comp.name FILTER html %]" + href="buglist.cgi?product= + [%- product.name FILTER url_quote %]&component= + [%- comp.name FILTER url_quote %]&resolution=---"> + [% comp.name FILTER html %]</a> </td> <td> [% INCLUDE global/user.html.tmpl who = comp.default_assignee %] |