From 4d7a7842499086aaf3132f6e41ff79b1ae6a88de Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Fri, 22 Aug 2014 11:49:16 +0100 Subject: [PATCH] Location.tpl - whitespace cleanup --- .../Contact/Form/Search/Criteria/Location.tpl | 212 +++++++++--------- 1 file changed, 105 insertions(+), 107 deletions(-) diff --git a/templates/CRM/Contact/Form/Search/Criteria/Location.tpl b/templates/CRM/Contact/Form/Search/Criteria/Location.tpl index 44f914b4fe..d0409198b8 100644 --- a/templates/CRM/Contact/Form/Search/Criteria/Location.tpl +++ b/templates/CRM/Contact/Form/Search/Criteria/Location.tpl @@ -24,134 +24,132 @@ +--------------------------------------------------------------------+ *}
- - - - - - {if $addressGroupTree} - - + - + + {/if} -
- {$form.location_type.label}
- {$form.location_type.html} -
- {ts}Location search uses the PRIMARY location for each contact by default.{/ts}
- {ts}To search by specific location types (e.g. Home, Work...), check one or more boxes above.{/ts} -
-
-
- {$form.street_address.label}
- {$form.street_address.html|crmAddClass:big} -{if $parseStreetAddress} -
{ts}Use Address Elements{/ts} -
-
- - +
{$form.street_number.label}
{$form.street_number.html}
{ts}or ODD / EVEN{/ts}
+ + + + + + +
+ {$form.location_type.label}
+ {$form.location_type.html} +
+ {ts}Location search uses the PRIMARY location for each contact by default.{/ts}
+ {ts}To search by specific location types (e.g. Home, Work...), check one or more boxes above.{/ts} +
+
+
+ {$form.street_address.label}
+ {$form.street_address.html|crmAddClass:big} + {if $parseStreetAddress} +
{ts}Use Address Elements{/ts} +
+
+ + - - - -
{$form.street_number.label}
{$form.street_number.html}
{ts}or ODD / EVEN{/ts}
{$form.street_name.label}
{$form.street_name.html}
{$form.street_unit.label}
{$form.street_unit.html|crmAddClass:four}
{ts}Use Street Address{/ts}
-
-{/if} -
- {$form.city.label}
- {$form.city.html} -
{ts}Use Street Address{/ts}
+
+ {/if} +
+ {$form.city.label}
+ {$form.city.html} +
- {if $form.postal_code.html} - - - - - - - - - - - - - - - - - -
- {$form.postal_code.label}
- {$form.postal_code.html} -
-        - -        - - {$form.postal_code_low.label|replace:'-':'
'} -   {$form.postal_code_low.html|crmAddClass:six} - {$form.postal_code_high.label} -   {$form.postal_code_high.html|crmAddClass:six} -
 {$form.prox_distance.label}
{$form.prox_distance.html} {$form.prox_distance_unit.html}
{$form.address_name.label}
- {$form.address_name.html|crmAddClass:medium} -
{$form.world_region.label}
- {$form.world_region.html}  -
{$form.county.label}
- {$form.county.html}  + {if $form.postal_code.html} + + + + + + + + + + + + + + + + + + +
+ {$form.postal_code.label}
+ {$form.postal_code.html} +
+        + +        + + {$form.postal_code_low.label|replace:'-':'
'} +   {$form.postal_code_low.html|crmAddClass:six} + {$form.postal_code_high.label} +   {$form.postal_code_high.html|crmAddClass:six} +
 {$form.prox_distance.label}
{$form.prox_distance.html} {$form.prox_distance_unit.html}
{$form.address_name.label}
+ {$form.address_name.html|crmAddClass:medium} +
{$form.world_region.label}
+ {$form.world_region.html}  +
{$form.county.label}
+ {$form.county.html}  +
{$form.country.label}
+ {$form.country.html}  +
+ {/if} 
{$form.country.label}
- {$form.country.html}  +
{$form.state_province.label}
+ {$form.state_province.html}
- {/if}  -
{$form.state_province.label}
- {$form.state_province.html} -
+
{include file="CRM/Custom/Form/Search.tpl" groupTree=$addressGroupTree showHideLinks=false} -
+
{if $parseStreetAddress eq 1} -{literal} - -{/literal} + + {/literal} {/if} -- 2.25.1