Skip to content

Commit

Permalink
Merge pull request nextras#70 from juradee/patch-1
Browse files Browse the repository at this point in the history
Update Datagrid.latte
  • Loading branch information
hrach authored Mar 14, 2017
2 parents 27deec2 + 5781ac3 commit b766d1d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Datagrid.latte
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,15 @@
{ifset #empty-result}{include #empty-result}{/ifset}
{/if}
</tbody>
<tfoot n:ifset="$paginator">
<tfoot n:if="isset($paginator) || $hasGlobalActionsColumn">
<tr>
<th colspan="{=count($columns) + $hasGlobalActionsColumn + $hasActionsColumn}">
{if $hasGlobalActionsColumn}
{include #global-actions}
{/if}
{include #pagination}
{ifset $paginator}
{include #pagination}
{/ifset}
</th>
</tr>
</tfoot>
Expand Down

0 comments on commit b766d1d

Please sign in to comment.