silverstripe-cms/templates/Includes/AssetTableField.ss
Ingo Schommer 9a229d70a5 mujma: USABILITY: Fixed usability issue number #46. (merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41725 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 02:33:58 +00:00

27 lines
772 B
Scheme
Executable File

<div id="$id" class="$Classes">
<% include TableListField_PageControls %>
<table class="data">
<thead>
<tr>
<% if Markable %><th width="18">&nbsp;</th><% end_if %>
<% control Headings %>
<th class="$Name">$Title</th>
<% end_control %>
<th width="18">&nbsp;</th>
</tr>
</thead>
<tbody>
<% 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 %>
<td width="18">
<a class="popuplink editlink" href="$EditLink" target="_blank" title="Edit asset"><img src="cms/images/edit.gif" alt="edit" /></a>
</td>
</tr>
<% end_control %>
</tbody>
</table>
</div>