mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
added a message to indicate there are no widgets available
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41492 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
0538bc2595
commit
4301f7b29f
@ -3,9 +3,15 @@
|
||||
<div class="availableWidgetsHolder">
|
||||
<h2>Available Widgets</h2>
|
||||
<div class="availableWidgets" id="WidgetAreaEditor_availableWidgets">
|
||||
<% if AvailableWidgets %>
|
||||
<% control AvailableWidgets %>
|
||||
$DescriptionSegment
|
||||
<% end_control %>
|
||||
<% else %>
|
||||
<div id="NoWidgets">
|
||||
<p>There are currently no widgets available.</p>
|
||||
</div>
|
||||
<% end_if %>
|
||||
</div>
|
||||
</div>
|
||||
<div class="usedWidgetsHolder">
|
||||
|
Loading…
Reference in New Issue
Block a user