Skip to content
This repository was archived by the owner on Oct 29, 2022. It is now read-only.

Commit 27076d4

Browse files
committed
Testing variable in template
1 parent 6058383 commit 27076d4

File tree

1 file changed

+25
-2
lines changed

1 file changed

+25
-2
lines changed

templates/CRM/Admin/Page/MessageTemplates.tpl

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,31 @@
115115
{/if}
116116
</div>
117117
{if !($type eq 'userTemplates')}
118-
{* TODO - actually insert a checkbox here *}
119-
Insert checkbox here.
118+
{*
119+
org.cedc.systemmsgheader
120+
------------------------
121+
Add an option to use default message header/footer on system workflow messages.
122+
*}
123+
<div class="crm-block crm-form-block crm-systemmsgheader-form-block">
124+
<div id="systemmsgheader" class="mailoption">
125+
<fieldset>
126+
<legend>{ts}Message Header/Footer Configuration{/ts}</legend>
127+
<table class="form-layout-compressed">
128+
<tr class="crm-systemmsgheader-form-block-systemmsgCheckbox">
129+
<td class="label">{$form.systemmsgCheckbox.label}</td>
130+
<td>{$form.systemmsgCheckbox.html}<br />
131+
<span class="description">{ts}You can optionally use the default header/footer on all system workflow templates.{/ts}
132+
</span>
133+
</td>
134+
</tr>
135+
</table>
136+
</fieldset>
137+
</div>
138+
<div class="spacer"></div>
139+
<div class="crm-submit-buttons">
140+
{include file="CRM/common/formButtons.tpl"}
141+
</div>
142+
</div>
120143
{/if}
121144
<div>
122145
<p></p>

0 commit comments

Comments
 (0)