mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
f9769c5b0a
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/cms/branches/2.4@98208 467b73ca-7a2a-4603-9d3b-597d59a354a9
26 lines
798 B
Scheme
26 lines
798 B
Scheme
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
|
|
<head>
|
|
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
|
<% base_tag %>
|
|
<title>Print</title>
|
|
</head>
|
|
|
|
<!-- <body onload="window.print();"> -->
|
|
<body>
|
|
<% control Form.Controller %>
|
|
<h1 style="margin-bottom: 0">$CurrentReport.Title</h1>
|
|
<% control CurrentReport.getCmsFields %>
|
|
<% if Name == Filters %>
|
|
<h2 style="margin-bottom: 0; margin-top: 0;">Filters</h2>
|
|
<ul style="margin-top: 0">
|
|
<% control FieldSet %>
|
|
<li>$Title = $performReadonlyTransformation.Field</li>
|
|
<% end_control %>
|
|
</ul>
|
|
<% end_if %>
|
|
<% end_control %>
|
|
<% end_control %>
|
|
<% include TableListField %>
|
|
</body>
|
|
</html> |