]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 984505 - Link component and product to browse for other bugs in this category
authorDavid Lawrence <dkl@mozilla.com>
Fri, 4 Apr 2014 15:24:46 +0000 (15:24 +0000)
committerDavid Lawrence <dkl@mozilla.com>
Fri, 4 Apr 2014 15:24:46 +0000 (15:24 +0000)
r=glob,a=justdave

template/en/default/bug/field.html.tmpl

index 88200fdfa18d2e44ac92f7d4630efefb0765eb72..9e09e4b52ab9b6ba6fc78bfc74f5f07a6cb119ea 100644 (file)
       [% value.join(', ') FILTER html %]
   [% END %]
 [% END %]
+
+[% IF bug && field.name == 'component' %]
+  (<a href="buglist.cgi?component=[% bug.component FILTER uri %]&amp;product=[% bug.product FILTER uri %]&amp;bug_status=__open__"
+      target="_blank">show other [% terms.bugs %]</a>)
+[% END %]
+
 [% Hook.process('end_field_column') %]
 [% '</td>' IF NOT no_tds %]