CRM-21052 - CRM_Admin_Form_Setting_Case - Display setting `civicaseActivityRevisions`
authorTim Otten <totten@civicrm.org>
Tue, 8 Aug 2017 22:53:03 +0000 (15:53 -0700)
committerTim Otten <totten@civicrm.org>
Wed, 16 Aug 2017 04:48:06 +0000 (21:48 -0700)
CRM/Admin/Form/Setting/Case.php
templates/CRM/Admin/Form/Setting/Case.tpl

index 12ae261cc4f92d7ead4475246819446153c805a9..d530c87e530e8037b71c9e7b0b4a2f71ad0405e7 100644 (file)
@@ -40,6 +40,7 @@ class CRM_Admin_Form_Setting_Case extends CRM_Admin_Form_Setting {
     'civicaseRedactActivityEmail' => CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME,
     'civicaseAllowMultipleClients' => CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME,
     'civicaseNaturalActivityTypeSort' => CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME,
+    'civicaseActivityRevisions' => CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME,
   );
 
   /**
index d2da2e05026f2c86428000cefb911c62d343a55a..e18cf987b1299b1b3bc5d5c335b33b7bab1d4270 100644 (file)
         <span class="description">{ts}How to sort activity-types on the "Manage Case" screen? {/ts} {ts}(Set "Default" to load setting from the legacy "Settings.xml" file.){/ts}</span>
       </td>
     </tr>
+    <tr class="crm-case-form-block-civicaseActivityRevisions">
+      <td class="label">{$form.civicaseActivityRevisions.label}</td>
+      <td>{$form.civicaseActivityRevisions.html}<br />
+        <span class="description">{ts}Enable embedded tracking to activity revisions within the "civicrm_activity" table. Alternatively, see "Administer => System Settings => Misc => Logging".{/ts}</span>
+      </td>
+    </tr>
   </table>
   <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
   <div class="spacer"></div>