From: <psy...@us...> - 2007-09-20 22:34:59
|
Update of /cvsroot/frenchmozilla/bugzilla/template/fr/default/admin/products In directory sc8-pr-cvs17:/tmp/cvs-serv22378 Modified Files: Tag: BZ_3_0_BRANCH list-classifications.html.tmpl Log Message: Bug 396934: When classifications are in use, editproducts.cgi displays "Add product" to users that can't add products. -> en-US 1.2.2.1 Index: list-classifications.html.tmpl =================================================================== RCS file: /cvsroot/frenchmozilla/bugzilla/template/fr/default/admin/products/list-classifications.html.tmpl,v retrieving revision 1.4 retrieving revision 1.4.2.1 diff -u -d -r1.4 -r1.4.2.1 --- list-classifications.html.tmpl 14 Jul 2007 16:31:40 -0000 1.4 +++ list-classifications.html.tmpl 20 Sep 2007 22:35:01 -0000 1.4.2.1 @@ -50,15 +50,18 @@ name => "product_count" align => "right" heading => "Total produit" - }, - { - heading => "Actionâ¦" - content => "Ajouter un produit" - contentlink => add_contentlink - }, + } ] %] +[% IF user.in_group('editcomponents') %] + [% columns.push({ + heading => "Actionâ¦" + content => "Ajouter un produit" + contentlink => add_contentlink }) + %] +[% END %] + [% PROCESS admin/table.html.tmpl columns = columns data = classifications |