// HelperList: add possibility to create custom action for each row

This commit is contained in:
dSevere
2011-10-14 14:19:45 +00:00
parent 249c817369
commit cd38def980
8 changed files with 310 additions and 114 deletions
+5 -12
View File
@@ -92,18 +92,11 @@
{/if}
{if $has_actions}
<td class="center" style="white-space: nowrap;">
{if isset($tr.view)}
{$tr.view}
{/if}
{if isset($tr.edit)}
{$tr.edit}
{/if}
{if isset($tr.delete)}
{$tr.delete}
{/if}
{if isset($tr.duplicate)}
{$tr.duplicate}
{/if}
{foreach $actions AS $action}
{if isset($tr.$action)}
{$tr.$action}
{/if}
{/foreach}
</td>
{/if}
</tr>