1 {foreach from=$rows item=template_row key=type}
2 {if $type eq 'configTemplates'}
3 <table class="report-layout">
4 <div class="action-link">
5 <a href="{crmURL p='civicrm/admin/tplstrings/add' q='reset=1&action=add'}" class="button">
7 <div class="icon add-icon"></div>{ts}Add New String{/ts}
11 {if !empty( $template_row) }
17 <th style="width: 10%"></th>
20 {foreach from=$template_row item=values}
21 <tr class="{cycle values="odd-row,even-row"}">
22 <td>{$values.context}</td>
23 <td>{$values.name}</td>
24 <td>{$values.data}</td>
26 <td>{$values.action}</td>
33 {if $type eq 'customizeTemplates'}
34 <table class="report-layout">
36 <h1>Config String</h1>
39 <div class="action-link">
40 <a href="{crmURL p='civicrm/admin/tplstrings/add' q='reset=1&action=add&config=1'}" class="button">
42 <div class="icon add-icon"></div>{ts}Add New Config{/ts}
47 {if !empty( $template_row) }
53 <th style="width: 10%"></th>
56 {foreach from=$template_row item=values}
57 <tr class="{cycle values="odd-row,even-row"}">
58 <td>{$values.context}</td>
59 <td>{$values.name}</td>
60 <td>{$values.data}</td>
62 <td>{$values.action}</td>