mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
343044e89c
ENHANCEMENT Less template overloading in AssetTableField.ss git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92820 467b73ca-7a2a-4603-9d3b-597d59a354a9
33 lines
938 B
Scheme
Executable File
33 lines
938 B
Scheme
Executable File
<div id="$id" class="$CSSClasses $extraClass field" href="$CurrentLink">
|
|
<div class="FileFilter filterBox">
|
|
$SearchForm
|
|
</div>
|
|
<% include TableListField_PageControls %>
|
|
<table class="data">
|
|
<thead>
|
|
<tr>
|
|
<th width="18"> </th>
|
|
<% if Markable %><th width="18"> </th><% end_if %>
|
|
<% control Headings %>
|
|
<th class="$Name">$Title</th>
|
|
<% end_control %>
|
|
<th width="18"> </th>
|
|
<% if Can(delete) %><th width="18"> </th><% end_if %>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<% if Items %>
|
|
<% control Items %>
|
|
<% include AssetTableField_Item %>
|
|
<% end_control %>
|
|
<% else %>
|
|
<tr class="notfound">
|
|
<td></td>
|
|
<% if Markable %><th width="18"> </th><% end_if %>
|
|
<td colspan="$Headings.Count"><i><% _t('NOITEMSFOUND','No items found') %></i></td>
|
|
<% if Can(delete) %><td width="18"> </td><% end_if %>
|
|
</tr>
|
|
<% end_if %>
|
|
</tbody>
|
|
</table>
|
|
</div> |