diff options
author | ivan <ivan> | 2010-07-15 21:46:31 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-07-15 21:46:31 +0000 |
commit | 130c7801e718d55c500e9f777112f51905cad060 (patch) | |
tree | 33fb33c18c9a8674c3f81c0ed23d3774335b0849 /httemplate/browse | |
parent | 24893d30ecc52b457e37214a598a07c5a0800c23 (diff) |
customer tags, RT#9192
Diffstat (limited to 'httemplate/browse')
-rw-r--r-- | httemplate/browse/part_tag.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/httemplate/browse/part_tag.html b/httemplate/browse/part_tag.html new file mode 100644 index 000000000..3bb166199 --- /dev/null +++ b/httemplate/browse/part_tag.html @@ -0,0 +1,23 @@ +<% include( 'elements/browse.html', + 'title' => 'Tags', + 'name_singular' => 'tag', + 'menubar' => [ 'Add a new tag' => + $p.'edit/part_tag.html', + ], + 'query' => { 'table' => 'part_tag', }, + 'count_query' => 'SELECT COUNT(*) FROM part_tag', + 'header' => [ 'Tag', 'Description', 'Color' ], + 'fields' => [ 'tagname', 'tagdesc', 'tagcolor' ], + 'links' => [ $link, '', '' ], + 'disableable' => 1, + 'disabled_statuspos' => 1, + ) +%> +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Configuration'); + +my $link = [ "${p}edit/part_tag.html?", 'tagnum' ]; + +</%init> |