template improvements #2

Closed
jon wants to merge 1 commits from (deleted):master into master
Showing only changes of commit 7a7aae1068 - Show all commits

View File

@ -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}