From 5189d82750da1b7d336bedf21927970feac0ee17 Mon Sep 17 00:00:00 2001 From: Simon Green Date: Tue, 5 Nov 2013 09:48:48 +1000 Subject: 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 --- template/en/default/list/list.html.tmpl | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'template/en/default/list') 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 %] File + [%- one_product.name FILTER uri %] + [%- IF one_component.defined %]&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 %] [% END %] -- cgit v1.2.3-24-g4f1b