mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
9a6483b024
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@60314 467b73ca-7a2a-4603-9d3b-597d59a354a9
40 lines
1.8 KiB
Scheme
Executable File
40 lines
1.8 KiB
Scheme
Executable File
<div id="$id" class="$CSSClasses field">
|
|
<% include TableListField_PageControls %>
|
|
<table class="data">
|
|
<thead>
|
|
<tr>
|
|
<% if Markable %><th width="36"> </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>
|
|
<% control Items %>
|
|
<tr id="record-$Parent.Name-$ID">
|
|
<% if Markable %><td width="36" class="markingcheckbox"><div class="dragfile" id="drag-$Parent.Name-$ID"><img id="drag-img-$Parent.Name-$ID" alt="Drag" title="<% _t('DRAGTOFOLDER','Drag to folder on left to move file') %>" src="sapphire/images/drag.gif" /></div> $MarkingCheckbox</td><% end_if %>
|
|
<% control Fields %>
|
|
<td>$Value</td>
|
|
<% end_control %>
|
|
<% if Can(show) %>
|
|
<td width="18">
|
|
<a class="popuplink showlink" href="$ShowLink" target="_blank" title="<% _t('SHOW', 'Show asset') %>"><img src="cms/images/show.png" alt="<% _t('SHOW', 'Show asset') %>" /></a>
|
|
</td>
|
|
<% end_if %>
|
|
<% if Can(edit) %>
|
|
<td width="18">
|
|
<a class="popuplink editlink" href="$EditLink" target="_blank" title="<% _t('EDIT', 'Edit asset') %>"><img src="cms/images/edit.gif" alt="<% _t('EDIT', 'Edit asset') %>" /></a>
|
|
</td>
|
|
<% end_if %>
|
|
<% if Can(delete) %>
|
|
<td width="18">
|
|
<a class="deletelink" href="admin/assets/removefile/$ID" title="<% _t('DELFILE', 'Delete this file') %>"><img src="cms/images/delete.gif" alt="<% _t('DELFILE', 'Delete this file') %>" title="<% _t('DELFILE','Delete this file') %>" /></a>
|
|
</td>
|
|
<% end_if %>
|
|
</tr>
|
|
<% end_control %>
|
|
</tbody>
|
|
</table>
|
|
</div> |