silverstripe-cms/templates/Includes/AssetTableField.ss
Ingo Schommer 0ac0beca47 MINOR Added translations for BrokenLinksReport, ReportAdminForm.ss, AssetTableField.ss (fixes #5527, thanks Martimiz) (from r104980)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112461 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:46:53 +00:00

39 lines
1.1 KiB
Scheme
Executable File

<div id="$id" class="$CSSClasses $extraClass field dragdrop" href="$CurrentLink">
<div class="FileFilter filterBox">
$SearchForm
</div>
<% include TableListField_PageControls %>
<table class="data">
<thead>
<tr>
<th width="18">&nbsp;</th>
<% if Markable %><th width="18">&nbsp;</th><% end_if %>
<% control Headings %>
<th class="$Name">$Title</th>
<% end_control %>
<th width="18">&nbsp;</th>
<% if Can(delete) %><th width="18">&nbsp;</th><% end_if %>
</tr>
</thead>
<tbody>
<% if Items %>
<% control Items %>
<% include AssetTableField_Item %>
<% end_control %>
<% else %>
<tr class="notfound">
<td></td>
<% if Markable %><th width="18">&nbsp;</th><% end_if %>
<td colspan="$Headings.Count"><i><% sprintf(_t('AssetTableField.NODATAFOUND', 'No %s found'),$NamePlural) %></i></td>
<% if Can(delete) %><td width="18">&nbsp;</td><% end_if %>
</tr>
<% end_if %>
</tbody>
</table>
<div class="utility">
$DeleteMarkedButton
<% control Utility %>
<span class="item"><a href="$Link">$Title</a></span>
<% end_control %>
</div>
</div>