mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 09:05:53 +00:00
BUGFIX Fixed old references to GenericDataAdmin in ModelAdmin.php and ModelAdmin_Results.ss
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@64754 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
21a61404ba
commit
2795dae693
@ -198,7 +198,7 @@ abstract class ModelAdmin extends LeftAndMain {
|
||||
new DropdownField('ClassName', _t('ModelAdmin.CLASSTYPE', 'Type', PR_MEDIUM, 'Type of object to add'), $modelMap)
|
||||
),
|
||||
new FieldSet(
|
||||
new FormAction('add', _t('GenericDataAdmin.CREATE'))
|
||||
new FormAction('add', _t('ModelAdmin.CREATE', 'Create'))
|
||||
)
|
||||
);
|
||||
$form->setFormMethod('get');
|
||||
|
@ -1,5 +1,5 @@
|
||||
<% if Results %>
|
||||
$Form
|
||||
<% else %>
|
||||
<p><% sprintf(_t('GenericDataAdmin.NORESULTS'), $ModelPluralName) %></p>
|
||||
<p><% sprintf(_t('ModelAdmin.NORESULTS', 'No results'), $ModelPluralName) %></p>
|
||||
<% end_if %>
|
Loading…
x
Reference in New Issue
Block a user