From 2e8b803f7f17f98556bc8791d9e838bf160a2518 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Fri, 12 Feb 2016 17:33:55 +0100 Subject: [PATCH] Kosmetik --- bin/mozilla/ct.pl | 20 ++++++++++---------- templates/webpages/ct/search.html | 22 +++++++++++----------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/bin/mozilla/ct.pl b/bin/mozilla/ct.pl index 51b73249b..04fae4ee9 100644 --- a/bin/mozilla/ct.pl +++ b/bin/mozilla/ct.pl @@ -136,16 +136,16 @@ sub list_names { push @options, $locale->text('Orphaned'); } - push @options, $locale->text('Name') . " : $form->{name}" if $form->{name}; - push @options, $locale->text('Contact') . " : $form->{contact}" if $form->{contact}; - push @options, $locale->text('Number') . qq| : $form->{"$form->{db}number"}| if $form->{"$form->{db}number"}; - push @options, $locale->text('E-mail') . " : $form->{email}" if $form->{email}; - push @options, $locale->text('Contact person (surname)') . " : $form->{cp_name}" if $form->{cp_name}; - push @options, $locale->text('Billing/shipping address (city)') . " : $form->{addr_city}" if $form->{addr_city}; - push @options, $locale->text('Billing/shipping address (zipcode)') . " : $form->{addr_zipcode}" if $form->{addr_zipcode}; - push @options, $locale->text('Billing/shipping address (street)') . " : $form->{addr_street}" if $form->{addr_street}; - push @options, $locale->text('Billing/shipping address (country)') . " : $form->{addr_country}" if $form->{addr_country}; - push @options, $locale->text('Billing/shipping address (GLN)') . " : $form->{addr_gln}" if $form->{addr_gln}; + push @options, $locale->text('Name') . " : $form->{name}" if $form->{name}; + push @options, $locale->text('Contact') . " : $form->{contact}" if $form->{contact}; + push @options, $locale->text('Number') . qq| : $form->{"$form->{db}number"}| if $form->{"$form->{db}number"}; + push @options, $locale->text('E-mail') . " : $form->{email}" if $form->{email}; + push @options, $locale->text('Contact person (surname)') . " : $form->{cp_name}" if $form->{cp_name}; + push @options, $locale->text('Billing/shipping address (city)') . " : $form->{addr_city}" if $form->{addr_city}; + push @options, $locale->text('Billing/shipping address (zipcode)') . " : $form->{addr_zipcode}" if $form->{addr_zipcode}; + push @options, $locale->text('Billing/shipping address (street)') . " : $form->{addr_street}" if $form->{addr_street}; + push @options, $locale->text('Billing/shipping address (country)') . " : $form->{addr_country}" if $form->{addr_country}; + push @options, $locale->text('Billing/shipping address (GLN)') . " : $form->{addr_gln}" if $form->{addr_gln}; if ($form->{business_id}) { my $business = SL::DB::Manager::Business->find_by(id => $form->{business_id}); diff --git a/templates/webpages/ct/search.html b/templates/webpages/ct/search.html index d98b324ce..10a6ceaae 100644 --- a/templates/webpages/ct/search.html +++ b/templates/webpages/ct/search.html @@ -35,10 +35,10 @@ [% 'Billing/shipping address (street)' | $T8 %] - + [% 'Billing/shipping address (zipcode)' | $T8 %] - + [% 'Billing/shipping address (city)' | $T8 %] @@ -176,7 +176,7 @@ - + @@ -198,14 +198,14 @@ [% IF IS_CUSTOMER %] - - - - - - - - + + + + + + + + [% END %] -- 2.20.1