summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2014-04-04 17:24:46 +0200
committerDavid Lawrence <dkl@mozilla.com>2014-04-04 17:24:46 +0200
commitdc9486b05615630a5d6165d8a1bd256284c19268 (patch)
treebd029175655ea8af21e9d7227a2684f987f33ce8
parent453810967e6ef61ab036332b09be0a6576a56d84 (diff)
downloadbugzilla-dc9486b05615630a5d6165d8a1bd256284c19268.tar.gz
bugzilla-dc9486b05615630a5d6165d8a1bd256284c19268.tar.xz
Bug 984505 - Link component and product to browse for other bugs in this category
r=glob,a=justdave
-rw-r--r--template/en/default/bug/field.html.tmpl6
1 files changed, 6 insertions, 0 deletions
diff --git a/template/en/default/bug/field.html.tmpl b/template/en/default/bug/field.html.tmpl
index 88200fdfa..9e09e4b52 100644
--- a/template/en/default/bug/field.html.tmpl
+++ b/template/en/default/bug/field.html.tmpl
@@ -239,6 +239,12 @@
[% 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 %]