From: Coleman Watts Date: Tue, 7 Jan 2014 04:10:25 +0000 (-0800) Subject: CRM-13863 - Ajax improvements for changelog tab. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=ecc20f0e55a776fe7e0eeca75e5d28a3175046cd;p=civicrm-core.git CRM-13863 - Ajax improvements for changelog tab. --- diff --git a/CRM/Report/Form.php b/CRM/Report/Form.php index 02ba61149e..f91dba75ed 100644 --- a/CRM/Report/Form.php +++ b/CRM/Report/Form.php @@ -2689,6 +2689,7 @@ WHERE cg.extends IN ('" . implode("','", $this->_customGroupExtends) . "') AND $pager = new CRM_Utils_Pager($params); $this->assign_by_ref('pager', $pager); + $this->ajaxResponse['totalRows'] = $this->_rowsFound; } } diff --git a/templates/CRM/Admin/Form/Setting/Miscellaneous.tpl b/templates/CRM/Admin/Form/Setting/Miscellaneous.tpl index 7916508a60..f4a924f1f0 100644 --- a/templates/CRM/Admin/Form/Setting/Miscellaneous.tpl +++ b/templates/CRM/Admin/Form/Setting/Miscellaneous.tpl @@ -54,8 +54,7 @@ {$form.logging.html}
{if $validTriggerPermission} -

{ts}If enabled, all actions performed on non-cache tables will be logged (in the respective log_* tables).{/ts}

-
{ts}Logging functionality is currently in beta. Please test this feature on a copy of your database prior to using it on a production site.{/ts}
+

{ts}If enabled, all actions will be logged with a complete record of changes.{/ts}

{else}

{ts}In order to use this functionality, the installation's database user must have privileges to create triggers (in MySQL 5.0 – and in MySQL 5.1 if binary logging is enabled – this means the SUPER privilege). This install either does not seem to have the required privilege enabled.{/ts} {ts}This functionality cannot be enabled on multilingual installations.{/ts}

{/if} diff --git a/templates/CRM/Contact/Page/View/Log.tpl b/templates/CRM/Contact/Page/View/Log.tpl index c3a6363649..7949821751 100644 --- a/templates/CRM/Contact/Page/View/Log.tpl +++ b/templates/CRM/Contact/Page/View/Log.tpl @@ -28,7 +28,7 @@
{ts}Change Log:{/ts} {$displayName}
{if $useLogging}
-
+
{else}
{if $logCount > 0 } @@ -55,20 +55,26 @@ {if $useLogging} {literal}