title = "Select Classification"
%]
-[% edit_contentlink = BLOCK %]
- editproducts.cgi?classification=%%name%%
-[% END %]
-[% add_contentlink = BLOCK %]
- editproducts.cgi?action=add&classification=%%name%%
-[% END %]
-
[% columns = [
{
name => "name"
heading => "Edit products of..."
- contentlink => edit_contentlink
+ contentlink => 'editproducts.cgi?classification=%%name%%'
},
{
name => "description"
[% columns.push({
heading => "Action..."
content => "Add product"
- contentlink => add_contentlink })
+ contentlink => 'editproducts.cgi?action=add&classification=%%name%%' })
%]
[% END %]
title = "Select product $classification_title"
%]
-[% edit_contentlink = BLOCK %]
- editproducts.cgi?action=edit&product=%%name%%
-[% END %]
-[% delete_contentlink = BLOCK %]
- editproducts.cgi?action=del&product=%%name%%
-[% END %]
-[% bug_count_contentlink = BLOCK %]
- buglist.cgi?product=%%name%%
-[% END %]
-
-
[% columns = [
{
name => "name"
heading => "Edit product..."
- contentlink => edit_contentlink
+ contentlink => 'editproducts.cgi?action=edit&product=%%name%%'
},
{
name => "description"
name => "bug_count"
heading => "$terms.Bug Count"
align => 'right'
- contentlink => bug_count_contentlink
+ contentlink => 'buglist.cgi?product=%%name%%'
})
%]
[% columns.push({
heading => "Action"
content => "Delete"
- contentlink => delete_contentlink
+ contentlink => 'editproducts.cgi?action=del&product=%%name%%'
})
%]