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:
Sam Minnee 2010-02-04 04:31:20 +00:00
parent e764dec48d
commit 392c5effb7
2 changed files with 3 additions and 2 deletions

View File

@ -1009,6 +1009,7 @@ JS
$this->showPagination = false;
increase_time_limit_to();
$this->Print = true;
$result = $this->renderWith(array($this->template . '_printable', 'TableListField_printable'));

View File

@ -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>