[freeside-commits] branch master updated. 6b1a8c7316892165fa4dc8b66bb962bf113aa3d8

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


The branch, master has been updated
       via  6b1a8c7316892165fa4dc8b66bb962bf113aa3d8 (commit)
      from  3b6d92312c10df349d91999f496ed2539b56c608 (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 6b1a8c7316892165fa4dc8b66bb962bf113aa3d8
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Thu Oct 8 13:46:55 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