summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/custom_fields/list.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/admin/custom_fields/list.html.tmpl')
-rw-r--r--template/en/default/admin/custom_fields/list.html.tmpl18
1 files changed, 18 insertions, 0 deletions
diff --git a/template/en/default/admin/custom_fields/list.html.tmpl b/template/en/default/admin/custom_fields/list.html.tmpl
index acb3f680d..6f2e68be7 100644
--- a/template/en/default/admin/custom_fields/list.html.tmpl
+++ b/template/en/default/admin/custom_fields/list.html.tmpl
@@ -24,6 +24,8 @@
doc_section = "custom-fields.html"
%]
+[% delete_contentlink = BLOCK %]editfields.cgi?action=del&name=%%name%%[% END %]
+
[% columns = [
{
name => "name"
@@ -53,6 +55,11 @@
{
name => "obsolete"
heading => "Is Obsolete"
+ },
+ {
+ name => "action"
+ heading => "Action"
+ content => ""
}
]
%]
@@ -73,6 +80,17 @@
%]
[% END %]
+
+[% overrides.action = [ {
+ match_value => 1
+ match_field => 'obsolete'
+ override_content => 1
+ content => "Delete"
+ override_contentlink => 1
+ contentlink => delete_contentlink
+ } ]
+%]
+
[% PROCESS admin/table.html.tmpl
columns = columns
overrides = overrides