From 68eb38dc793addc58d1b746c20e98b6363ac7286 Mon Sep 17 00:00:00 2001 From: Dave Greenberg Date: Thu, 5 Jun 2014 09:41:44 -0700 Subject: [PATCH] CRM-14767 - include option to enter address parts when adding address inline edit. ---------------------------------------- * CRM-14767: https://issues.civicrm.org/jira/browse/CRM-14767 --- .../Form/Edit/Address/street_address.tpl | 56 +++++++++---------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/templates/CRM/Contact/Form/Edit/Address/street_address.tpl b/templates/CRM/Contact/Form/Edit/Address/street_address.tpl index 0c80b5b247..9b51e38791 100644 --- a/templates/CRM/Contact/Form/Edit/Address/street_address.tpl +++ b/templates/CRM/Contact/Form/Edit/Address/street_address.tpl @@ -24,37 +24,37 @@ +--------------------------------------------------------------------+ *} {if !empty($form.address.$blockId.street_address)} - - - {$form.address.$blockId.street_address.label} {help id="id-street-address" file="CRM/Contact/Form/Contact.hlp"}
- {$form.address.$blockId.street_address.html} - {if $parseStreetAddress eq 1 && $action eq 2} -   {ts}Edit Address Elements{/ts} - {help id="id-edit-street-elements" file="CRM/Contact/Form/Contact.hlp"} - {/if} - - + + + {$form.address.$blockId.street_address.label} {help id="id-street-address" file="CRM/Contact/Form/Contact.hlp"}
+ {$form.address.$blockId.street_address.html} + {if $parseStreetAddress eq 1 && ($action eq 1 || $action eq 2)} +   {ts}Edit Address Elements{/ts} + {help id="id-edit-street-elements" file="CRM/Contact/Form/Contact.hlp"} + {/if} + + - {if $parseStreetAddress eq 1 && $action eq 2} - - - {$form.address.$blockId.street_number.label}
- {$form.address.$blockId.street_number.html} - + {if $parseStreetAddress eq 1 && ($action eq 1 || $action eq 2)} + + + {$form.address.$blockId.street_number.label}
+ {$form.address.$blockId.street_number.html} + - - {$form.address.$blockId.street_name.label}
- {$form.address.$blockId.street_name.html}
- + + {$form.address.$blockId.street_name.label}
+ {$form.address.$blockId.street_name.html}
+ - - {$form.address.$blockId.street_unit.label}
- {$form.address.$blockId.street_unit.html} - {ts}Edit Complete Street Address{/ts} - {help id="id-edit-complete-street" file="CRM/Contact/Form/Contact.hlp"} - - - {/if} + + {$form.address.$blockId.street_unit.label}
+ {$form.address.$blockId.street_unit.html} + {ts}Edit Complete Street Address{/ts} + {help id="id-edit-complete-street" file="CRM/Contact/Form/Contact.hlp"} + + + {/if} {if $parseStreetAddress eq 1} {literal} -- 2.25.1