mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
BUGFIX Using TableListField_Item.ss in MemberTableField to avoid template duplication and inconsistent feature sets
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@73025 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
2961a00b46
commit
770e404fdb
@ -37,35 +37,13 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
<% if Items %>
|
<% if Items %>
|
||||||
<% control Items %>
|
<% control Items %>
|
||||||
<tr id="record-$Parent.Name-$ID">
|
<% include TableListField_Item %>
|
||||||
<% if Markable %><td width="18" class="markingcheckbox">$MarkingCheckbox</td><% end_if %>
|
|
||||||
<% control Fields %>
|
|
||||||
<td>$Value</td>
|
|
||||||
<% end_control %>
|
|
||||||
<% if Can(show) %>
|
|
||||||
<td width="18" class="action">
|
|
||||||
<a class="popuplink showlink" href="$ShowLink" title="<% _t('SHOWMEMBER','Show this member') %>" target="_blank"><img src="cms/images/show.png" alt="show" /></a>
|
|
||||||
</td>
|
|
||||||
<% end_if %>
|
|
||||||
<% if Can(edit) %>
|
|
||||||
<td width="18" class="action">
|
|
||||||
<a class="popuplink editlink" href="$EditLink" title="<% _t('EDITMEMBER','Edit this member') %>" target="_blank"><img src="cms/images/edit.gif" alt="edit" /></a>
|
|
||||||
</td>
|
|
||||||
<% end_if %>
|
|
||||||
<% if Can(delete) %>
|
|
||||||
<td width="18" class="action">
|
|
||||||
<a class="deletelink" href="$DeleteLink" title="<% _t('DELETEMEMBER','Delete this member') %>"><img src="cms/images/delete.gif" alt="delete" /></a>
|
|
||||||
</td>
|
|
||||||
<% end_if %>
|
|
||||||
</tr>
|
|
||||||
<% end_control %>
|
<% end_control %>
|
||||||
<% else %>
|
<% else %>
|
||||||
<tr class="notfound">
|
<tr class="notfound">
|
||||||
<% if Markable %><th width="18"> </th><% end_if %>
|
<% if Markable %><th width="18"> </th><% end_if %>
|
||||||
<td colspan="$Headings.Count"><i>No $NamePlural found</i></td>
|
<td colspan="$Headings.Count"><i><% _t('NOITEMSFOUND', 'No items found') %></i></td>
|
||||||
<% if Can(show) %><td width="18"> </td><% end_if %>
|
<% control Actions %><td width="18"> </td><% end_control %>
|
||||||
<% if Can(edit) %><td width="18"> </td><% end_if %>
|
|
||||||
<% if Can(delete) %><td width="18"> </td><% end_if %>
|
|
||||||
</tr>
|
</tr>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
Loading…
Reference in New Issue
Block a user