]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 194272: Provide a way to browse bugs instead of searching for them
authormkanat%bugzilla.org <>
Tue, 2 Jun 2009 03:49:21 +0000 (03:49 +0000)
committermkanat%bugzilla.org <>
Tue, 2 Jun 2009 03:49:21 +0000 (03:49 +0000)
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=pyrzak, r=LpSolit, a=LpSolit

template/en/default/global/choose-product.html.tmpl
template/en/default/global/common-links.html.tmpl
template/en/default/reports/components.html.tmpl

index 0a38db6af42fb22fb0ec3235d73f9832d2aaed48..2ce1ef497a44d2ee66909fac76f9397b31a69ba1 100644 (file)
 
 [% 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 %]
index fa5b0b03a4f6d6ef4bd5395b249befd0e5c3dea6..8ab2a2b026fbcbe87ade0f3539dac8d20403944c 100644 (file)
@@ -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">
     [% 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&nbsp;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
index eb08a35ac2079fa08626cf6acdc856469b2811e1..3fe60914393d95c673143b8f5653486fad1f8b96 100644 (file)
@@ -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 %]
   [% 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 %]&amp;component=
+               [%- comp.name FILTER url_quote %]&amp;resolution=---">
+      [% comp.name FILTER html %]</a>
     </td>
     <td>
       [% INCLUDE global/user.html.tmpl who = comp.default_assignee %]