From bff3913a980b11cc8929ab5c18b6cef4d8b96599 Mon Sep 17 00:00:00 2001 From: Joseph Lacey Date: Wed, 29 Apr 2015 20:42:11 -0600 Subject: [PATCH] CRM-16353 - Remaining Contact DataTables refactoring, in addition to initial refactoring ---------------------------------------- * CRM-16353: Upgrade datatables integration to use v2 api https://issues.civicrm.org/jira/browse/CRM-16353 --- CRM/Contact/Form/DedupeRules.php | 2 +- templates/CRM/Activity/Selector/Selector.tpl | 2 +- .../CRM/Contact/Page/DedupeException.tpl | 48 +++++++------------ templates/CRM/Contact/Page/View/Note.tpl | 28 ++--------- 4 files changed, 24 insertions(+), 56 deletions(-) diff --git a/CRM/Contact/Form/DedupeRules.php b/CRM/Contact/Form/DedupeRules.php index d7df3d47d0..6d487960f9 100644 --- a/CRM/Contact/Form/DedupeRules.php +++ b/CRM/Contact/Form/DedupeRules.php @@ -115,7 +115,7 @@ class CRM_Contact_Form_DedupeRules extends CRM_Admin_Form { $disabled = array(); $reserved = $this->addField('is_reserved', array('label' => ts('Reserved?'))); if (!empty($this->_defaults['is_reserved'])) { - $reserved->freeze(); + //$reserved->freeze(); $disabled = array('disabled' => TRUE); } diff --git a/templates/CRM/Activity/Selector/Selector.tpl b/templates/CRM/Activity/Selector/Selector.tpl index 8061466bf6..f6a214dc73 100644 --- a/templates/CRM/Activity/Selector/Selector.tpl +++ b/templates/CRM/Activity/Selector/Selector.tpl @@ -44,7 +44,7 @@ {ts}Type{/ts} - {ts}Subject{/ts} + {ts}Subject{/ts} {ts}Added By{/ts} {ts}With{/ts} {ts}Assigned{/ts} diff --git a/templates/CRM/Contact/Page/DedupeException.tpl b/templates/CRM/Contact/Page/DedupeException.tpl index 396e45f140..c22d547d04 100644 --- a/templates/CRM/Contact/Page/DedupeException.tpl +++ b/templates/CRM/Contact/Page/DedupeException.tpl @@ -24,40 +24,28 @@ +--------------------------------------------------------------------+ *} - - - - - - - - - - {foreach from=$dedupeExceptions item=exception key=id} - - - - - - {/foreach} - +
{ts}Contact 1{/ts}{ts}Contact 2 (Duplicate){/ts}
{$exception.main.name}{$exception.other.name}» {ts}Remove Exception{/ts}
+ + + + + + + + + {foreach from=$dedupeExceptions item=exception key=id} + + + + + + {/foreach} +
{ts}Contact 1{/ts}{ts}Contact 2 (Duplicate){/ts}
{$exception.main.name}{$exception.other.name}» {ts}Remove Exception{/ts}

- -{literal} - -{/literal} - {* process the dupe contacts *} {include file="CRM/common/dedupe.tpl"} diff --git a/templates/CRM/Contact/Page/View/Note.tpl b/templates/CRM/Contact/Page/View/Note.tpl index fd581fc015..22fc2fe36b 100644 --- a/templates/CRM/Contact/Page/View/Note.tpl +++ b/templates/CRM/Contact/Page/View/Note.tpl @@ -202,36 +202,16 @@ {* show browse table for any action *}
{strip} - {include file="CRM/common/jsortable.tpl"} - - - - +
- + - - + + -- 2.25.1
{ts}Note{/ts} {ts}Subject{/ts} {ts}Date{/ts} {ts}Created By{/ts}{ts}Attachment(s){/ts}{ts}Attachment(s){/ts}