mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR set Print flag correctly on TLF
MINOR custom print template for SSReport TLF's that exposes the report title, and filters set (from r97138) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@98154 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
e764dec48d
commit
392c5effb7
@ -1009,6 +1009,7 @@ JS
|
||||
$this->showPagination = false;
|
||||
|
||||
increase_time_limit_to();
|
||||
$this->Print = true;
|
||||
|
||||
$result = $this->renderWith(array($this->template . '_printable', 'TableListField_printable'));
|
||||
|
||||
|
@ -72,9 +72,9 @@
|
||||
<% end_if %>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="utility">
|
||||
<% if Print %><% else %><div class="utility">
|
||||
<% control Utility %>
|
||||
<span class="item"><a href="$Link">$Title</a></span>
|
||||
<% end_control %>
|
||||
</div>
|
||||
</div><% end_if %>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user