Skip to content

Commit

Permalink
Remove hardcoded settings from form and use SettingForm.tpl for Case …
Browse files Browse the repository at this point in the history
…settings
  • Loading branch information
mattwire committed Feb 20, 2020
1 parent 71ee7bf commit bbfe998
Showing 1 changed file with 1 addition and 37 deletions.
38 changes: 1 addition & 37 deletions templates/CRM/Admin/Form/Setting/Case.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -8,41 +8,5 @@
+--------------------------------------------------------------------+
*}
<div class="crm-block crm-form-block crm-case-form-block">
{*<div class="help">*}
{*{ts}...{/ts} {docURL page="Debugging for developers" resource="wiki"}*}
{*</div>*}
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
<table class="form-layout">
<tr class="crm-case-form-block-civicaseRedactActivityEmail">
<td class="label">{$form.civicaseRedactActivityEmail.label}</td>
<td>{$form.civicaseRedactActivityEmail.html}<br />
<span class="description">{ts}Should activity emails be redacted?{/ts} {ts}(Set "Default" to load setting from the legacy "Settings.xml" file.){/ts}</span>
</td>
</tr>
<tr class="crm-case-form-block-civicaseAllowMultipleClients">
<td class="label">{$form.civicaseAllowMultipleClients.label}</td>
<td>{$form.civicaseAllowMultipleClients.html}<br />
<span class="description">{ts}How many clients may be associated with a given case?{/ts} {ts}(Set "Default" to load setting from the legacy "Settings.xml" file.){/ts}</span>
</td>
</tr>
<tr class="crm-case-form-block-civicaseNaturalActivityTypeSort">
<td class="label">{$form.civicaseNaturalActivityTypeSort.label}</td>
<td>{$form.civicaseNaturalActivityTypeSort.html}<br />
<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>
<tr class="crm-case-form-block-civicaseShowCaseActivities">
<td class="label">{$form.civicaseShowCaseActivities.label}</td>
<td>{$form.civicaseShowCaseActivities.html}<br />
<span class="description">{$civicaseShowCaseActivities_description}</span>
</td>
</tr>
</table>
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
{include file='CRM/Admin/Form/Setting/SettingForm.tpl'}
</div>

0 comments on commit bbfe998

Please sign in to comment.