Skip to content

Commit

Permalink
Merge pull request #25669 from eileenmcnaughton/smarty-syntax
Browse files Browse the repository at this point in the history
dev/core#4146 Remove (old) Smarty-forward incompatible syntax from Address.tpl
  • Loading branch information
demeritcowboy authored Feb 28, 2023
2 parents d01aa62 + 2cfc61c commit 89f5b82
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/CRM/Contact/Page/Inline/Address.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
!empty($add.geo_code_2) AND
is_numeric($add.geo_code_2)
}
<br /><a href="{crmURL p='civicrm/contact/map' q="reset=1&cid=`$contactId`&lid=`$add.location_type_id`"}" title="{ts 1=`$add.location_type`}Map %1 Address{/ts}"><i class="crm-i fa-map-marker" aria-hidden="true"></i> {ts}Map{/ts}</a>
{assign var='mapLocationTypeID' value=$add.location_type_id}
<br /><a href="{crmURL p='civicrm/contact/map' q="reset=1&cid=$contactId&lid=$mapLocationTypeID"}" title="{ts 1=$add.location_type}Map %1 Address{/ts}"><i class="crm-i fa-map-marker" aria-hidden="true"></i> {ts}Map{/ts}</a>
{/if}
</div>
<div class="crm-content">
Expand Down

0 comments on commit 89f5b82

Please sign in to comment.