[freeside-commits] branch FREESIDE_4_BRANCH updated. 4f9036b228a12204d8282344a5abbdd621959a85

Ivan ivan at 420.am
Thu Sep 29 09:25:38 PDT 2016


The branch, FREESIDE_4_BRANCH has been updated
       via  4f9036b228a12204d8282344a5abbdd621959a85 (commit)
      from  37a37bc1146a9ac2dfe6502c1c9f0d211a9a9209 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 4f9036b228a12204d8282344a5abbdd621959a85
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Thu Sep 29 09:25:37 2016 -0700

    4.x styling customer edit cleanup

diff --git a/httemplate/edit/cust_main/stateid.html b/httemplate/edit/cust_main/stateid.html
index 2655f51..3500d63 100644
--- a/httemplate/edit/cust_main/stateid.html
+++ b/httemplate/edit/cust_main/stateid.html
@@ -1,6 +1,6 @@
 % if ( $conf->exists('show_stateid') ) {
 <TR>
-  <TD ALIGN="right"><% $stateid_label %></TD>
+  <TH ALIGN="right"><% $stateid_label %></TH>
   <TD><INPUT TYPE="text" NAME="stateid" VALUE="<% $stateid %>" SIZE=12></TD>
   <TD><& /elements/select-state.html,
           state   => $cust_main->stateid_state,
diff --git a/httemplate/elements/freeside.css b/httemplate/elements/freeside.css
index cc104a1..8545ee5 100644
--- a/httemplate/elements/freeside.css
+++ b/httemplate/elements/freeside.css
@@ -235,7 +235,8 @@ div.fstabcontainer {
 .fsinnerbox th {
   font-weight:normal;
   font-size:80%;
-  vertical-align: bottom;
+  vertical-align: top;
+  padding-top: 3px;
   color: #666666;
 }
 
diff --git a/httemplate/elements/tr-censustract.html b/httemplate/elements/tr-censustract.html
index 7a4b349..c7ca270 100644
--- a/httemplate/elements/tr-censustract.html
+++ b/httemplate/elements/tr-censustract.html
@@ -1,6 +1,6 @@
 % if ($location->country eq 'US' and $censustract) {
 <TR>
-  <TD ALIGN="right"><% mt('Census tract') |h %></TD>
+  <TH ALIGN="right"><% mt('Census tract') |h %></TH>
   <TD COLSPAN=5>
     <SPAN STYLE="background-color: #ffffff; border: 1px solid #ffffff"><% $censustract |h %></SPAN>
      <% $censusyear |h %>
diff --git a/httemplate/view/cust_main/contacts.html b/httemplate/view/cust_main/contacts.html
index d75f114..1660c1c 100644
--- a/httemplate/view/cust_main/contacts.html
+++ b/httemplate/view/cust_main/contacts.html
@@ -82,7 +82,7 @@
 % } elsif ( $this eq 'ship' ) {
 %   if ( $cust_main->ship_company ) { # mostly obsolete these days...
   <TR>
-    <TD ALIGN="right"><% mt('Company') |h %></TD>
+    <TH ALIGN="right"><% mt('Company') |h %></TH>
     <TD COLSPAN=7><% $cust_main->ship_company |h %></TD>
   </TR>
 %   }
@@ -93,7 +93,7 @@
 
 %   if ( $location->locationname ) {
       <TR>
-        <TD ALIGN="right"><% mt('Location ID') |h %></TD>
+        <TH ALIGN="right"><% mt('Location ID') |h %></TH>
         <TD COLSPAN=7><% $location->locationname |h %></TD>
       </TR>
 %   }
@@ -160,7 +160,7 @@
 %   if ( $cust_main->get('fax') ) {
 
   <TR>
-    <TD ALIGN="right"><% mt('Fax') |h %></TD>
+    <TH ALIGN="right"><% mt('Fax') |h %></TH>
     <TD COLSPAN=3>
       <% $cust_main->get('fax') || ' ' %>
     </TD>
@@ -171,9 +171,9 @@
 %   if ( $conf->exists('show_stateid') ) { 
 
 <TR>
-    <TD ALIGN="right"><% $stateid_label %></TD>
+    <TH ALIGN="right"><% $stateid_label %></TH>
     <TD><% $cust_main->masked('stateid') || '&nbsp' %></TD>
-    <TD ALIGN="right"><% $stateid_state_label %></TD>
+    <TH ALIGN="right"><% $stateid_state_label %></TH>
     <TD><% $cust_main->stateid_state || '&nbsp' %></TD>
   </TR>
 
diff --git a/httemplate/view/cust_main/misc.html b/httemplate/view/cust_main/misc.html
index d9bf91e..cb465f5 100644
--- a/httemplate/view/cust_main/misc.html
+++ b/httemplate/view/cust_main/misc.html
@@ -4,7 +4,7 @@
 % my @part_tag = $cust_main->part_tag;
 % if ( $conf->config('cust_tag-location') =~ /^(cust_misc|)$/ && @part_tag ) {
 <TR>
-  <TD ALIGN="right"><% mt('Tags') |h %></TD>
+  <TH ALIGN="right"><% mt('Tags') |h %></TH>
   <TD BGCOLOR="#ffffff">
 %   foreach my $part_tag ( @part_tag ) {
       <FONT <% length($part_tag->tagcolor)
@@ -21,7 +21,7 @@
 %       && ! $conf->exists('cust_main-default_agent_custid') ) {
 
 <TR>
-  <TD ALIGN="right"><% mt('Agent customer ref#') |h %></TD>
+  <TH ALIGN="right"><% mt('Agent customer ref#') |h %></TH>
   <TD BGCOLOR="#ffffff"><% $cust_main->agent_custid %></TD>
 </TR>
 %

-----------------------------------------------------------------------

Summary of changes:
 httemplate/edit/cust_main/stateid.html  |    2 +-
 httemplate/elements/freeside.css        |    3 ++-
 httemplate/elements/tr-censustract.html |    2 +-
 httemplate/view/cust_main/contacts.html |   10 +++++-----
 httemplate/view/cust_main/misc.html     |    4 ++--
 5 files changed, 11 insertions(+), 10 deletions(-)




More information about the freeside-commits mailing list