summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2014-04-04 18:08:42 +0200
committerDavid Lawrence <dkl@mozilla.com>2014-04-04 18:08:42 +0200
commit0ac842d2f0b996a9bcf4524fdc02b4237281a891 (patch)
tree2a9341adb12ca838b6aa4b6780a0a6b1bd6c0487 /template
parent215d8de3a8056f9829213ae79eee585105b1bb9b (diff)
downloadbugzilla-0ac842d2f0b996a9bcf4524fdc02b4237281a891.tar.gz
bugzilla-0ac842d2f0b996a9bcf4524fdc02b4237281a891.tar.xz
Bug 984505 - Link component and product to browse for other bugs in this category
Diffstat (limited to 'template')
-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 1e80cf17a..e9eefd419 100644
--- a/template/en/default/bug/field.html.tmpl
+++ b/template/en/default/bug/field.html.tmpl
@@ -278,6 +278,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 %]