From 7ea90f150b44ffc2ef906a34d49a244d6da7dba5 Mon Sep 17 00:00:00 2001 From: ivan Date: Sat, 17 Jul 2010 22:14:39 +0000 Subject: customer tags, RT#9192 --- httemplate/view/cust_main.cgi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'httemplate/view') 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 @@ }) %>
+% my @part_tag = $cust_main->part_tag; +% if ( $conf->config('cust_tag-location') eq 'top' && @part_tag ) { + +% foreach my $part_tag ( @part_tag ) { + + + +% } +
+ tagcolor) + ? 'STYLE="background-color:#'.$part_tag->tagcolor.'"' + : '' + %>><% $part_tag->tagname.': '. $part_tag->tagdesc |h %> +
+
+% } <% include('/elements/menubar.html', { 'newstyle' => 1, -- cgit v1.2.1