summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/en/default/admin/products/list-classifications.html.tmpl15
1 files changed, 9 insertions, 6 deletions
diff --git a/template/en/default/admin/products/list-classifications.html.tmpl b/template/en/default/admin/products/list-classifications.html.tmpl
index a91014e23..4eddad306 100644
--- a/template/en/default/admin/products/list-classifications.html.tmpl
+++ b/template/en/default/admin/products/list-classifications.html.tmpl
@@ -49,15 +49,18 @@
name => "product_count"
align => "right"
heading => "Product Count"
- },
- {
- heading => "Action..."
- content => "Add product"
- contentlink => add_contentlink
- },
+ }
]
%]
+[% IF user.in_group('editcomponents') %]
+ [% columns.push({
+ heading => "Action..."
+ content => "Add product"
+ contentlink => add_contentlink })
+ %]
+[% END %]
+
[% PROCESS admin/table.html.tmpl
columns = columns
data = classifications