Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=pyrzak, r=LpSolit, a=LpSolit
[% 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 %]
<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">
[% 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
#%]
[%# 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 %]
[% 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>
</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 %]