mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX Don't show "Import" header if ImportForm isn't available in
ModelAdmin_Tools template
This commit is contained in:
parent
ed08b8c00b
commit
fc9e065e44
@ -3,10 +3,12 @@
|
||||
<h3 class="cms-panel-header"><% _t('FILTER', 'Filter') %></h3>
|
||||
$SearchForm
|
||||
|
||||
<h3 class="cms-panel-header"><% _t('IMPORT', 'Import') %></h3>
|
||||
$ImportForm
|
||||
<% if ImportForm %>
|
||||
<h3 class="cms-panel-header"><% _t('IMPORT', 'Import') %></h3>
|
||||
$ImportForm
|
||||
<% end_if %>
|
||||
</div>
|
||||
<div class="cms-panel-content-collapsed">
|
||||
<h3 class="cms-panel-header"><% _t('FILTER', 'Filter') %></h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user