diff options
Diffstat (limited to 'httemplate/edit')
-rw-r--r-- | httemplate/edit/part_tag.html | 23 | ||||
-rw-r--r-- | httemplate/edit/process/part_tag.html | 11 |
2 files changed, 34 insertions, 0 deletions
diff --git a/httemplate/edit/part_tag.html b/httemplate/edit/part_tag.html new file mode 100644 index 000000000..938e34256 --- /dev/null +++ b/httemplate/edit/part_tag.html @@ -0,0 +1,23 @@ +<% include( 'elements/edit.html', + 'table' => 'part_tag', + 'name_singular' => 'tag', + 'fields' => [ 'tagname', + { field=>'disabled', type=>'checkbox', value=>'Y' }, + 'tagdesc', + 'tagcolor' + ], + 'labels' => { 'tagnum' => 'Tag #', + 'tagname' => 'Tag', + 'tagdesc' => 'Description', + 'tagcolor' => 'Highlight Color', + 'disabled' => 'Disabled', + }, + 'viewall_dir' => 'browse', + ) +%> +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Configuration'); + +</%init> diff --git a/httemplate/edit/process/part_tag.html b/httemplate/edit/process/part_tag.html new file mode 100644 index 000000000..077dc4cd9 --- /dev/null +++ b/httemplate/edit/process/part_tag.html @@ -0,0 +1,11 @@ +<% include( 'elements/process.html', + 'table' => 'part_tag', + 'viewall_dir' => 'browse', + ) +%> +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Configuration'); + +</%init> |