From ffd39a49be2230bd76aba5d1683cf7b56ff32e95 Mon Sep 17 00:00:00 2001 From: JKingsnorth Date: Wed, 25 Nov 2015 10:35:56 +0000 Subject: [PATCH] Move important warnings to the top of the merge screen --- templates/CRM/Contact/Form/Merge.tpl | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/templates/CRM/Contact/Form/Merge.tpl b/templates/CRM/Contact/Form/Merge.tpl index 015c20a3ff..1464ca6172 100644 --- a/templates/CRM/Contact/Form/Merge.tpl +++ b/templates/CRM/Contact/Form/Merge.tpl @@ -28,6 +28,20 @@ {ts}Click Merge to move data from the Duplicate Contact on the left into the Main Contact. In addition to the contact data (address, phone, email...), you may choose to move all or some of the related activity records (groups, contributions, memberships, etc.).{/ts} {help id="intro"} +
+
+ {ts}WARNING: The duplicate contact record WILL BE DELETED after the merge is complete.{/ts} +
+ +{if $user} +
+
+ {ts 1=$config->userFramework}WARNING: There are %1 user accounts associated with both the original and duplicate contacts. Ensure that the %1 user you want to retain is on the right - if necessary use the 'Flip between original and duplicate contacts.' option at top to swap the positions of the two records before doing the merge. +The user record associated with the duplicate contact will not be deleted, but will be unlinked from the associated contact record (which will be deleted). +You will need to manually delete that user (click on the link to open the %1 user account in new screen). You may need to give thought to how you handle any content or contents associated with that user.{/ts} +
+{/if} +
{include file="CRM/common/formButtons.tpl" location="top"} {if $prev} {ts}Previous{/ts}{/if} @@ -194,14 +208,6 @@
-
-

{ts}WARNING: The duplicate contact record WILL BE DELETED after the merge is complete.{/ts}

- {if $user} -

{ts 1=$config->userFramework}There are %1 user accounts associated with both the original and duplicate contacts. Ensure that the Drupal User you want to retain is on the right - if necessary use the 'Flip between original and duplicate contacts.' option at top to swap the positions of the two records before doing the merge. -The user record associated with the duplicate contact will not be deleted, but will be un-linked from the associated contact record (which will be deleted). -You will need to manually delete that user (click on the link to open Drupal User account in new screen). You may need to give thought to how you handle any content or contents associated with that user.{/ts}

- {/if} -
{include file="CRM/common/formButtons.tpl" location="bottom"} -- 2.25.1