Commit a778b485 authored by mkanat%bugzilla.org's avatar mkanat%bugzilla.org

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
parent ee78f645
...@@ -31,15 +31,17 @@ ...@@ -31,15 +31,17 @@
[% IF target == "enter_bug.cgi" %] [% IF target == "enter_bug.cgi" %]
[% title = "Enter $terms.Bug" %] [% 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" %] [% ELSIF target == "describecomponents.cgi" %]
[% title = "$terms.Bugzilla Component Descriptions" %] [% title = "$terms.Bugzilla: Browse" %]
[% subheader = "Please specify the product whose components you want described." %] [% h2 = "Select a product category to browse:" %]
[% END %] [% END %]
[% DEFAULT title = "Choose a Product" %] [% DEFAULT title = "Choose a Product" %]
[% PROCESS global/header.html.tmpl %] [% PROCESS global/header.html.tmpl %]
<h2>[% h2 FILTER html %]</h2>
<table> <table>
[% FOREACH c = classifications %] [% FOREACH c = classifications %]
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
<ul class="links"> <ul class="links">
<li><a href="./">Home</a></li> <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="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><span class="separator">| </span><a href="query.cgi">Search</a></li>
<li class="form"> <li class="form">
...@@ -49,10 +50,6 @@ ...@@ -49,10 +50,6 @@
[% END %] [% END %]
[%-# Work around FF bug: keep this on one line %]</li> [%-# 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&nbsp;Votes</a></li>
[% END %]
[% IF user.login %] [% IF user.login %]
<li><span class="separator">| </span><a href="userprefs.cgi">Preferences</a></li> <li><span class="separator">| </span><a href="userprefs.cgi">Preferences</a></li>
[% IF user.in_group('tweakparams') || user.in_group('editusers') || user.can_bless [% IF user.in_group('tweakparams') || user.in_group('editusers') || user.can_bless
......
...@@ -19,7 +19,8 @@ ...@@ -19,7 +19,8 @@
#%] #%]
[%# INTERFACE: [%# 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 %] [% title = BLOCK %]
...@@ -34,9 +35,12 @@ ...@@ -34,9 +35,12 @@
[% numcols = 2 %] [% numcols = 2 %]
[% END %] [% END %]
<p>
[% product.description FILTER html_light %] <p><strong>[% product.name FILTER html %]</strong>:
</p> [% product.description FILTER html_light %]</p>
<p><em>Select a component to view open [% terms.bugs %] in that
component:</em></p>
<table> <table>
<tr> <tr>
...@@ -71,7 +75,11 @@ ...@@ -71,7 +75,11 @@
</tr> </tr>
<tr> <tr>
<td rowspan="2"> <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 %]&amp;component=
[%- comp.name FILTER url_quote %]&amp;resolution=---">
[% comp.name FILTER html %]</a>
</td> </td>
<td> <td>
[% INCLUDE global/user.html.tmpl who = comp.default_assignee %] [% INCLUDE global/user.html.tmpl who = comp.default_assignee %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment