[freeside-commits] branch FREESIDE_4_BRANCH updated. 208cb71d0313f755107fa677998c8f5073d2cedf

Ivan ivan at 420.am
Thu Oct 8 13:46:58 PDT 2015


The branch, FREESIDE_4_BRANCH has been updated
       via  208cb71d0313f755107fa677998c8f5073d2cedf (commit)
      from  4051c7fc24664dbde6e007a1e5c4965d87419517 (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 208cb71d0313f755107fa677998c8f5073d2cedf
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Thu Oct 8 13:46:57 2015 -0700

    remove fax from short contact info, RT#25536

diff --git a/httemplate/elements/contact.html b/httemplate/elements/contact.html
index ef74481..87e15de 100644
--- a/httemplate/elements/contact.html
+++ b/httemplate/elements/contact.html
@@ -135,7 +135,7 @@ tie my %label, 'Tie::IxHash',
 
 my $first = 0;
 foreach my $phone_type ( qsearch({table=>'phone_type', order_by=>'weight'}) ) {
-  next if $phone_type->typename eq 'Home';
+  next if $phone_type->typename =~ /^(Home|Fax)$/;
   my $f = 'phonetypenum'.$phone_type->phonetypenum;
   $label{$f} = $phone_type->typename. ' phone';
   $size{$f} = $first++ ? 10 : 15;

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

Summary of changes:
 httemplate/elements/contact.html |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




More information about the freeside-commits mailing list