From ae58eda132b5a89ce251dbdf13822dee2f3bc92f Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Thu, 29 Sep 2016 09:25:35 -0700 Subject: [PATCH] 4.x styling customer edit cleanup --- 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(-) diff --git a/httemplate/edit/cust_main/stateid.html b/httemplate/edit/cust_main/stateid.html index 2655f5142..3500d631c 100644 --- a/httemplate/edit/cust_main/stateid.html +++ b/httemplate/edit/cust_main/stateid.html @@ -1,6 +1,6 @@ % if ( $conf->exists('show_stateid') ) { - <% $stateid_label %> + <% $stateid_label %> <& /elements/select-state.html, state => $cust_main->stateid_state, diff --git a/httemplate/elements/freeside.css b/httemplate/elements/freeside.css index cc104a196..8545ee596 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 7a4b34943..c7ca270e9 100644 --- a/httemplate/elements/tr-censustract.html +++ b/httemplate/elements/tr-censustract.html @@ -1,6 +1,6 @@ % if ($location->country eq 'US' and $censustract) { - <% mt('Census tract') |h %> + <% mt('Census tract') |h %> <% $censustract |h %>  <% $censusyear |h %> diff --git a/httemplate/view/cust_main/contacts.html b/httemplate/view/cust_main/contacts.html index d75f114cf..1660c1c22 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... - <% mt('Company') |h %> + <% mt('Company') |h %> <% $cust_main->ship_company |h %> % } @@ -93,7 +93,7 @@ % if ( $location->locationname ) { - <% mt('Location ID') |h %> + <% mt('Location ID') |h %> <% $location->locationname |h %> % } @@ -160,7 +160,7 @@ % if ( $cust_main->get('fax') ) { - <% mt('Fax') |h %> + <% mt('Fax') |h %> <% $cust_main->get('fax') || ' ' %> @@ -171,9 +171,9 @@ % if ( $conf->exists('show_stateid') ) { - <% $stateid_label %> + <% $stateid_label %> <% $cust_main->masked('stateid') || ' ' %> - <% $stateid_state_label %> + <% $stateid_state_label %> <% $cust_main->stateid_state || ' ' %> diff --git a/httemplate/view/cust_main/misc.html b/httemplate/view/cust_main/misc.html index d9bf91e17..cb465f57e 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 ) { - <% mt('Tags') |h %> + <% mt('Tags') |h %> % foreach my $part_tag ( @part_tag ) { tagcolor) @@ -21,7 +21,7 @@ % && ! $conf->exists('cust_main-default_agent_custid') ) { - <% mt('Agent customer ref#') |h %> + <% mt('Agent customer ref#') |h %> <% $cust_main->agent_custid %> % -- 2.11.0