silverstripe-reports/templates/Includes/MemberList_Table.ss

42 lines
1023 B
Scheme
Raw Normal View History

<% include MemberList_PageControls %>
<table class="CMSList MemberList">
<thead>
<tr>
<td class="FirstName">First Name</td>
<td class="Surname">Surname</td>
<td class="Email">Email Address</td>
<% if DontShowPassword %>
<% else %>
<td class="Password">Password</td>
<% end_if %>
<td>&nbsp;</td>
</tr>
</thead>
<tbody>
<% if DontShowPassword %>
<% control Members %>
<tr id="member-$ID">
<td>$FirstName</td>
<td>$Surname</td>
<td>$Email</td>
<td><a class="deletelink" href="admin/security/removememberfromgroup/$GroupID/$ID"><img src="cms/images/delete.gif" alt="delete" /></a></td>
</tr>
<% end_control %>
<% else %>
<% control Members %>
<tr id="member-$ID">
<td>$FirstName</td>
<td>$Surname</td>
<td>$Email</td>
<td>$Password</td>
<td><a class="deletelink" href="admin/security/removememberfromgroup/$GroupID/$ID"><img src="cms/images/delete.gif" alt="delete" /></a></td>
</tr>
<% end_control %>
<% end_if %>
$AddRecordForm.AsTableRow
</tbody>
</table>