mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
ENHANCEMENT Only showing import form in ModelAdmin if an importer is set
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@67321 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
f45662cab1
commit
e6178ad82b
@ -31,10 +31,13 @@
|
||||
|
||||
<h3><% _t('SEARCHLISTINGS','Search') %></h3>
|
||||
$SearchForm
|
||||
|
||||
<h3><% _t('IMPORT_TAB_HEADER', 'Import') %></h3>
|
||||
$ImportForm
|
||||
</div>
|
||||
|
||||
<% if ImportForm %>
|
||||
<h3><% _t('IMPORT_TAB_HEADER', 'Import') %></h3>
|
||||
$ImportForm
|
||||
<% end_if %>
|
||||
|
||||
</div>
|
||||
<% end_control %>
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user