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;
|
$this->showPagination = false;
|
||||||
|
|
||||||
increase_time_limit_to();
|
increase_time_limit_to();
|
||||||
|
$this->Print = true;
|
||||||
|
|
||||||
$result = $this->renderWith(array($this->template . '_printable', 'TableListField_printable'));
|
$result = $this->renderWith(array($this->template . '_printable', 'TableListField_printable'));
|
||||||
|
|
||||||
|
|
|
@ -72,9 +72,9 @@
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<div class="utility">
|
<% if Print %><% else %><div class="utility">
|
||||||
<% control Utility %>
|
<% control Utility %>
|
||||||
<span class="item"><a href="$Link">$Title</a></span>
|
<span class="item"><a href="$Link">$Title</a></span>
|
||||||
<% end_control %>
|
<% end_control %>
|
||||||
</div>
|
</div><% end_if %>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue