Add buttons to top of address format screen; respect newlines
This commit is contained in:
parent
48566c073a
commit
7a7aae1068
@ -5,6 +5,11 @@
|
|||||||
<p>{ts}CiviCRM lets you store multiple postal addFormatress formats, so you can set it to the preferred format of your country{/ts}</p>
|
<p>{ts}CiviCRM lets you store multiple postal addFormatress formats, so you can set it to the preferred format of your country{/ts}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="action-link">
|
||||||
|
{crmButton q="action=add&reset=1" id="newFAddressType" icon="plus-circle"}{ts}Add Address Format{/ts}{/crmButton}
|
||||||
|
{crmButton p="civicrm/admin" q="reset=1" class="cancel" icon="times"}{ts}Done{/ts}{/crmButton}
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="crm-content-block crm-block">
|
<div class="crm-content-block crm-block">
|
||||||
{if $rows}
|
{if $rows}
|
||||||
<div id="ltype">
|
<div id="ltype">
|
||||||
@ -21,7 +26,7 @@
|
|||||||
{foreach from=$rows item=row}
|
{foreach from=$rows item=row}
|
||||||
<tr id="address_formats-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"} {$row.class}">
|
<tr id="address_formats-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"} {$row.class}">
|
||||||
<td>{$row.name}</td>
|
<td>{$row.name}</td>
|
||||||
<td class="crm-editable" data-field="format" data-type="textarea">{$row.format}</td>
|
<td class="crm-editable" data-field="format" data-type="textarea">{$row.format|nl2br}</td>
|
||||||
<td>{$row.action|replace:'xx':$row.id}</td>
|
<td>{$row.action|replace:'xx':$row.id}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
|
Loading…
Reference in New Issue
Block a user