2012-05-17 03:22:24 +02:00
|
|
|
<!doctype html>
|
2012-04-04 03:46:04 +02:00
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
2012-04-03 06:56:43 +02:00
|
|
|
<head>
|
2012-04-05 08:15:44 +02:00
|
|
|
<% if $Title %><title>$Title</title><% end_if %>
|
2012-04-03 06:56:43 +02:00
|
|
|
</head>
|
2012-04-05 08:15:44 +02:00
|
|
|
<body onload="window.print();">
|
2012-04-04 04:06:47 +02:00
|
|
|
<% if $Title %><h3>$Title</h3><% end_if %>
|
2012-04-03 06:56:43 +02:00
|
|
|
<table>
|
|
|
|
<thead>
|
2013-07-13 13:00:46 +02:00
|
|
|
<tr><% loop $Header %><th>$CellString</th><% end_loop %></tr>
|
2012-04-03 06:56:43 +02:00
|
|
|
</thead>
|
|
|
|
<tbody>
|
2013-07-13 13:00:46 +02:00
|
|
|
<% if $ItemRows %>
|
|
|
|
<% loop $ItemRows %>
|
|
|
|
<tr><% loop $ItemRow %><td>$CellString</td><% end_loop %></tr>
|
2012-05-11 03:49:20 +02:00
|
|
|
<% end_loop %>
|
2013-03-04 22:25:19 +01:00
|
|
|
<% else %>
|
|
|
|
<tr>
|
2017-05-08 13:34:39 +02:00
|
|
|
<td colspan="$Header.Count"><p><%t SilverStripe\\Forms\\GridField\\GridField.NoItemsFound 'No items found' %></p></td>
|
2013-03-04 22:25:19 +01:00
|
|
|
</tr>
|
|
|
|
<% end_if %>
|
2012-04-03 06:56:43 +02:00
|
|
|
</tbody>
|
|
|
|
</table>
|
2012-04-04 04:06:47 +02:00
|
|
|
<p>
|
2017-05-08 13:34:39 +02:00
|
|
|
<%t SilverStripe\\Forms\\GridField\\GridField.PRINTEDAT 'Printed at' %> $Datetime.Time, $Datetime.Date
|
2012-04-04 04:06:47 +02:00
|
|
|
<br />
|
2017-05-08 13:34:39 +02:00
|
|
|
<%t SilverStripe\\Forms\\GridField\\GridField.PRINTEDBY 'Printed by' %> $Member.Name
|
2012-04-04 04:06:47 +02:00
|
|
|
</p>
|
2012-04-03 06:56:43 +02:00
|
|
|
</body>
|
2012-04-05 08:15:44 +02:00
|
|
|
|
2012-05-11 03:49:20 +02:00
|
|
|
</html>
|