RT custom fields patch, RT#8449
[freeside.git] / httemplate / view / cust_main.cgi
index ca8bf54..a196c75 100755 (executable)
@@ -4,6 +4,22 @@
           })
 %>
 <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>
+  </TD>
+</TR>
+%   }
+</TABLE>
+% }
 
 <% include('/elements/menubar.html',
              { 'newstyle' => 1,
@@ -13,7 +29,7 @@
              %views,
           )
 %>
-<BR>
+<DIV CLASS="fstabcontainer">
 
 <% include('/elements/init_overlib.html') %>
 
@@ -214,6 +230,7 @@ Comments
 <% include('cust_main/change_history.html', $cust_main ) %>     
 % }
 
+</DIV>
 <% include('/elements/footer.html') %>
 <%init>