mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
ENHANCEMENT Show 10 images per page in the AssetAdmin
This commit is contained in:
parent
e2661dfac1
commit
7d87fa0600
@ -402,7 +402,7 @@ class Folder extends File {
|
|||||||
$config->addComponent(new GridFieldFilter());
|
$config->addComponent(new GridFieldFilter());
|
||||||
$config->addComponent(new GridFieldDefaultColumns());
|
$config->addComponent(new GridFieldDefaultColumns());
|
||||||
$config->addComponent(new GridFieldSortableHeader());
|
$config->addComponent(new GridFieldSortableHeader());
|
||||||
$config->addComponent(new GridFieldPaginator(2));
|
$config->addComponent(new GridFieldPaginator(10));
|
||||||
$config->addComponent(new GridFieldAction_Delete());
|
$config->addComponent(new GridFieldAction_Delete());
|
||||||
$config->addComponent(new GridFieldAction_Edit());
|
$config->addComponent(new GridFieldAction_Edit());
|
||||||
$config->addComponent($gridFieldForm = new GridFieldPopupForms());
|
$config->addComponent($gridFieldForm = new GridFieldPopupForms());
|
||||||
@ -417,7 +417,7 @@ class Folder extends File {
|
|||||||
));
|
));
|
||||||
|
|
||||||
$titleField = ($this->ID && $this->ID != "root") ? new TextField("Title", _t('Folder.TITLE')) : new HiddenField("Title");
|
$titleField = ($this->ID && $this->ID != "root") ? new TextField("Title", _t('Folder.TITLE')) : new HiddenField("Title");
|
||||||
|
|
||||||
$fields = new FieldList(
|
$fields = new FieldList(
|
||||||
new TabSet('Root',
|
new TabSet('Root',
|
||||||
new Tab('Main',
|
new Tab('Main',
|
||||||
|
Loading…
Reference in New Issue
Block a user