Skip to content

Commit

Permalink
Show global actions only if present
Browse files Browse the repository at this point in the history
  • Loading branch information
simPod committed Mar 9, 2017
1 parent 238712a commit 93dd52d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Datagrid.latte
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@
<tfoot n:ifset="$paginator">
<tr>
<th colspan="{=count($columns) + $hasGlobalActionsColumn + $hasActionsColumn}">
{include #global-actions}
{if $hasGlobalActionsColumn}
{include #global-actions}
{/if}
{include #pagination}
</th>
</tr>
Expand Down

0 comments on commit 93dd52d

Please sign in to comment.