diff options
author | ivan <ivan> | 2010-07-17 22:14:39 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-07-17 22:14:39 +0000 |
commit | 7ea90f150b44ffc2ef906a34d49a244d6da7dba5 (patch) | |
tree | 6d4ffd5552f68d1f3b05df7c81b25f2b7aa4a5ed /httemplate | |
parent | a98cd4637716d783c20bb08d903978d06abf9d31 (diff) |
customer tags, RT#9192
Diffstat (limited to 'httemplate')
-rwxr-xr-x | httemplate/view/cust_main.cgi | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi index e9d3f07a9..d854a01fa 100755 --- a/httemplate/view/cust_main.cgi +++ b/httemplate/view/cust_main.cgi @@ -4,6 +4,23 @@ }) %> <BR> +% my @part_tag = $cust_main->part_tag; +% if ( $conf->config('cust_tag-location') eq 'top' && @part_tag ) { +<TABLE STYLE="margin-bottom:8px" CELLSPACING=2> +% foreach my $part_tag ( @part_tag ) { +<TR> + <TD> + <FONT SIZE="+1" + <% length($part_tag->tagcolor) + ? 'STYLE="background-color:#'.$part_tag->tagcolor.'"' + : '' + %>><% $part_tag->tagname.': '. $part_tag->tagdesc |h %></FONT> + <BR> + </TD> +</TR> +% } +</TABLE> +% } <% include('/elements/menubar.html', { 'newstyle' => 1, |