2017-03-04 17:37:41 +00:00
{{ # if mergeTags }}
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
2017-03-07 14:30:56 +00:00
<a class="btn btn-default" role="button" data-toggle="collapse" href="#mergeReference" aria-expanded="false" aria-controls="mergeReference"> {{ # translate }} Merge tag reference {{ / translate }} </a>
2017-03-04 17:37:41 +00:00
<div class="collapse" id="mergeReference">
<p style="margin-top: .8em;">
2017-03-07 14:30:56 +00:00
{{ # translate }} Merge tags are tags that are replaced before sending out the message. The format of the merge tag is the following: <code>[TAG_NAME]</code> or <code>[TAG_NAME/fallback]</code> where <code>fallback</code> is an optional text value used when <code>TAG_NAME</code> is empty. {{ / translate }}
2017-03-04 17:37:41 +00:00
</p>
<table class="table table-bordered table-condensed table-striped">
<thead>
<tr>
<th>
2017-03-07 14:30:56 +00:00
{{ # translate }} Merge tag {{ / translate }}
2017-03-04 17:37:41 +00:00
</th>
<th>
2017-03-07 14:30:56 +00:00
{{ # translate }} Description {{ / translate }}
2017-03-04 17:37:41 +00:00
</th>
</tr>
</thead>
<tbody>
{{ # each mergeTags }}
<tr>
<th scope="row">
[ {{ key }} ]
</th>
<td>
{{ value }}
</td>
</tr>
{{ / each }}
</tbody>
</table>
{{ # if mergeTagReferenceFooterText }}
<p> {{ mergeTagReferenceFooterText }} </p>
{{ / if }}
</div>
</div>
</div>
{{ / if }}