[freeside-commits] freeside/httemplate/view cust_main.cgi, 1.128, 1.129

Ivan,,, ivan at wavetail.420.am
Sat Jul 17 15:14:41 PDT 2010


Update of /home/cvs/cvsroot/freeside/httemplate/view
In directory wavetail.420.am:/tmp/cvs-serv9182/httemplate/view

Modified Files:
	cust_main.cgi 
Log Message:
customer tags, RT#9192

Index: cust_main.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main.cgi,v
retrieving revision 1.128
retrieving revision 1.129
diff -u -w -d -r1.128 -r1.129
--- cust_main.cgi	7 Jun 2010 06:52:42 -0000	1.128
+++ cust_main.cgi	17 Jul 2010 22:14:39 -0000	1.129
@@ -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,



More information about the freeside-commits mailing list