From b5c67323525efad16abfe4ad2e0639d0e3a12bc5 Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Sat, 12 Jan 2019 07:59:54 +1100 Subject: [PATCH] Re-add in the remove Exception function --- api/v3/Exception.php | 1 + .../CRM/Contact/Page/DedupeException.tpl | 22 +++++++++++-------- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/api/v3/Exception.php b/api/v3/Exception.php index 9c50d4a35c..8ed2ada6ac 100644 --- a/api/v3/Exception.php +++ b/api/v3/Exception.php @@ -47,6 +47,7 @@ function civicrm_api3_exception_get($params) { function civicrm_api3_exception_create($params) { return _civicrm_api3_basic_create(_civicrm_api3_get_BAO(__FUNCTION__), $params, 'Exception'); } + /** * Delete an existing Exception. * diff --git a/templates/CRM/Contact/Page/DedupeException.tpl b/templates/CRM/Contact/Page/DedupeException.tpl index 2b4c346276..378de8b0d6 100644 --- a/templates/CRM/Contact/Page/DedupeException.tpl +++ b/templates/CRM/Contact/Page/DedupeException.tpl @@ -23,6 +23,7 @@ | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ *} +{include file="CRM/common/dedupe.tpl"}
{ts}Filter Contacts{/ts}
@@ -32,7 +33,7 @@
- +
@@ -51,16 +52,17 @@
- - - - + + + + + - {assign var="rowClass" value="odd-row"} - {assign var="rowCount" value=0} + {assign var="rowClass" value="odd-row"} + {assign var="rowCount" value=0} - {foreach from=$exceptions key=errorId item=exception} + {foreach from=$exceptions key=errorId item=exception} {assign var="rowCount" value=$rowCount+1} @@ -73,7 +75,9 @@ {assign var="contact2name" value="contact_id2.display_name"} { $exception.$contact2name } - + {if $rowClass eq "odd-row"} -- 2.25.1
{ts}Contact 1{/ts}{ts}Contact 2 (Duplicate){/ts}
{ts}Contact 1{/ts}{ts}Contact 2 (Duplicate){/ts}
+ » {ts}Remove Exception{/ts} +