summaryrefslogtreecommitdiff
path: root/httemplate/view
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/view')
-rwxr-xr-xhttemplate/view/cust_main.cgi17
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,