mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
abb9a61d0d
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39000 467b73ca-7a2a-4603-9d3b-597d59a354a9
77 lines
2.7 KiB
Scheme
Executable File
77 lines
2.7 KiB
Scheme
Executable File
<div class="$Classes" id="$id">
|
|
<div class="MemberFilter">
|
|
$SearchForm
|
|
</div>
|
|
<div id="MemberList">
|
|
<% include TableListField_PageControls %>
|
|
<table class="data">
|
|
<thead>
|
|
<tr>
|
|
<% if Markable %><th width="18"> </th><% end_if %>
|
|
<% control Headings %>
|
|
<th class="$Name">$Title</th>
|
|
<% end_control %>
|
|
<% if Can(show) %><th width="18"> </th><% end_if %>
|
|
<% if Can(edit) %><th width="18"> </th><% end_if %>
|
|
<% if Can(delete) %><th width="18"> </th><% end_if %>
|
|
</tr>
|
|
</thead>
|
|
<tfoot>
|
|
<tr class="addtogrouprow">
|
|
<% if Markable %><td width="18"> </dh><% end_if %>
|
|
$AddRecordForm.CellFields
|
|
<td class="actions" colspan="2">$AddRecordForm.CellActions</td>
|
|
</tr>
|
|
<tr style="display: none;">
|
|
<% if Markable %><td width="18"> </td><% end_if %>
|
|
<td colspan="$ItemCount">
|
|
<a class="popuplink addlink" href="$AddLink" alt="add"><img src="cms/images/add.gif" alt="add" /></a><a class="popuplink addlink" href="$AddLink" alt="add">Add new $Title</a>
|
|
</td>
|
|
<% if Can(show) %><td width="18"> </td><% end_if %>
|
|
<% if Can(edit) %><td width="18"> </td><% end_if %>
|
|
<% if Can(delete) %><td width="18"> </td><% end_if %>
|
|
</tr>
|
|
</tfoot>
|
|
<tbody>
|
|
<% if Items %>
|
|
<% control Items %>
|
|
<tr id="record-$Parent.Name-$ID">
|
|
<% if Markable %><td width="18" class="markingcheckbox">$MarkingCheckbox</td><% end_if %>
|
|
<% control Fields %>
|
|
<td>$Value</td>
|
|
<% end_control %>
|
|
<% if Can(show) %>
|
|
<td width="18">
|
|
<a class="popuplink showlink" href="$ShowLink" title="Show this member" target="_blank"><img src="cms/images/show.png" alt="show" /></a>
|
|
</td>
|
|
<% end_if %>
|
|
<% if Can(edit) %>
|
|
<td width="18">
|
|
<a class="popuplink editlink" href="$EditLink" title="Edit this member" target="_blank"><img src="cms/images/edit.gif" alt="edit" /></a>
|
|
</td>
|
|
<% end_if %>
|
|
<% if Can(delete) %>
|
|
<td width="18">
|
|
<a class="deletelink" href="$DeleteLink" title="Delete this member"><img src="cms/images/delete.gif" alt="delete" /></a>
|
|
</td>
|
|
<% end_if %>
|
|
</tr>
|
|
<% end_control %>
|
|
<% else %>
|
|
<tr class="notfound">
|
|
<% if Markable %><th width="18"> </th><% end_if %>
|
|
<td colspan="$Headings.Count"><i>No $NamePlural found</i></td>
|
|
<% if Can(show) %><td width="18"> </td><% end_if %>
|
|
<% if Can(edit) %><td width="18"> </td><% end_if %>
|
|
<% if Can(delete) %><td width="18"> </td><% end_if %>
|
|
</tr>
|
|
<% end_if %>
|
|
</tbody>
|
|
</table>
|
|
<div class="utility">
|
|
<% if Can(export) %>
|
|
$ExportButton
|
|
<% end_if %>
|
|
</div>
|
|
</div>
|
|
</div> |