summaryrefslogtreecommitdiffstats
path: root/template/en/default/list
diff options
context:
space:
mode:
authorSimon Green <sgreen@redhat.com>2013-11-05 00:48:48 +0100
committerSimon Green <sgreen@redhat.com>2013-11-05 00:48:48 +0100
commit5189d82750da1b7d336bedf21927970feac0ee17 (patch)
treea772ab4e75b66a50fca3def7c949ec6c740008e0 /template/en/default/list
parent7241e5286deab1bb5166ff7e713ff93f08409af0 (diff)
downloadbugzilla-5189d82750da1b7d336bedf21927970feac0ee17.tar.gz
bugzilla-5189d82750da1b7d336bedf21927970feac0ee17.tar.xz
Bug 890165 - Buglist for single component should offer "File a new bug in the XYZ component" instead of "File a new bug in the XYZ product"
r=glob, a=glob
Diffstat (limited to 'template/en/default/list')
-rw-r--r--template/en/default/list/list.html.tmpl10
1 files changed, 8 insertions, 2 deletions
diff --git a/template/en/default/list/list.html.tmpl b/template/en/default/list/list.html.tmpl
index ec453d0b7..514aa1c7f 100644
--- a/template/en/default/list/list.html.tmpl
+++ b/template/en/default/list/list.html.tmpl
@@ -313,10 +313,16 @@
[% BLOCK enter_bug_link %]
<a href="enter_bug.cgi
[%- IF one_product.defined %]?product=
- [%- one_product.name FILTER uri %][% END %]">File
+ [%- one_product.name FILTER uri %]
+ [%- IF one_component.defined %]&amp;component=
+ [%- one_component FILTER uri %][% END %][% END %]">File
a new [% terms.bug %]
[% IF one_product.defined %]
- in the "[% one_product.name FILTER html %]" product
+ in the
+ [% IF one_component.defined %]
+ "[% one_component FILTER html %]" component of the
+ [% END %]
+ "[% one_product.name FILTER html %]" product
[% END %]</a>
[% END %]