mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
ENHANCEMENT If there are no files in a folder in AssetAdmin, show a message
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@66323 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
0b6fccd21e
commit
de5e015d7a
@ -16,6 +16,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<% if Items %>
|
||||
<% control Items %>
|
||||
<tr id="record-$Parent.Name-$ID">
|
||||
<td>
|
||||
@ -44,6 +45,16 @@
|
||||
<% end_if %>
|
||||
</tr>
|
||||
<% end_control %>
|
||||
<% else %>
|
||||
<tr class="notfound">
|
||||
<td> </td>
|
||||
<% if Markable %><td width="18"> </td><% 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>
|
Loading…
Reference in New Issue
Block a user