mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-08-26 20:45:47 +02:00
* Added a separate component to grid field to hold buttons. * Updated templates for changes * Updated comments
26 lines
655 B
Scheme
26 lines
655 B
Scheme
<!doctype html>
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
<head>
|
|
<% if $Title %><title>$Title</title><% end_if %>
|
|
</head>
|
|
<body onload="window.print();">
|
|
<% if $Title %><h3>$Title</h3><% end_if %>
|
|
<table>
|
|
<thead>
|
|
<tr><% loop Header %><th>$CellString</th><% end_loop %></tr>
|
|
</thead>
|
|
<tbody>
|
|
<% loop ItemRows %>
|
|
<tr><% loop ItemRow %><td>$CellString</td><% end_loop %></tr>
|
|
<% end_loop %>
|
|
</tbody>
|
|
</table>
|
|
<p>
|
|
<% _t('GridField.PRINTEDAT', 'Printed at') %> $Datetime.Time, $Datetime.Date
|
|
<br />
|
|
<% _t('GridField.PRINTEDBY', 'Printed by') %> $Member.Name
|
|
</p>
|
|
</body>
|
|
|
|
</html>
|