From d7069b32d918d9aa77bec4177582373356c2737e Mon Sep 17 00:00:00 2001 From: Matthew Wire Date: Sat, 22 Aug 2020 15:02:04 +0100 Subject: [PATCH] Wrap not you message in crmRegion --- templates/CRM/Contribute/Form/Contribution/Main.tpl | 3 +++ templates/CRM/Event/Form/Registration/Register.tpl | 3 +++ 2 files changed, 6 insertions(+) diff --git a/templates/CRM/Contribute/Form/Contribution/Main.tpl b/templates/CRM/Contribute/Form/Contribution/Main.tpl index d6ef535aae41..0e5a3c2c6126 100644 --- a/templates/CRM/Contribute/Form/Contribution/Main.tpl +++ b/templates/CRM/Contribute/Form/Contribution/Main.tpl @@ -65,16 +65,19 @@
+ {crmRegion name='contribution-main-not-you-block'} {if $contact_id && !$ccid} {/if} + {/crmRegion}
{$intro_text}
{include file="CRM/common/cidzero.tpl"} + {if $islifetime or $ispricelifetime}
{ts}You have a current Lifetime Membership which does not need to be renewed.{/ts}
{/if} diff --git a/templates/CRM/Event/Form/Registration/Register.tpl b/templates/CRM/Event/Form/Registration/Register.tpl index cc4dedfac3bd..a76a3c8dfe9c 100644 --- a/templates/CRM/Event/Form/Registration/Register.tpl +++ b/templates/CRM/Event/Form/Registration/Register.tpl @@ -33,6 +33,7 @@
{/if} + {crmRegion name='event-register-not-you-block'} {if $contact_id}
{ts 1=$display_name}Welcome %1{/ts}. ({ts 1=$display_name}Not %1, or want to register a different person{/ts}?)
{/if} + {/crmRegion} + {if $event.intro_text}

{$event.intro_text}