mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
MINOR SSF-30 : add extra field to Tabs (listView and TreeView) to LeftAndMain EditForm
This commit is contained in:
parent
b6f73eb290
commit
ecb31ce30a
@ -191,6 +191,8 @@ JS
|
|||||||
$tabList = new Tab('ListView', _t('AssetAdmin.ListView', 'List View')),
|
$tabList = new Tab('ListView', _t('AssetAdmin.ListView', 'List View')),
|
||||||
$tabTree = new Tab('TreeView', _t('AssetAdmin.TreeView', 'Tree View'))
|
$tabTree = new Tab('TreeView', _t('AssetAdmin.TreeView', 'Tree View'))
|
||||||
);
|
);
|
||||||
|
$tabList->addExtraClass("content-listview");
|
||||||
|
$tabTree->addExtraClass("content-treeview");
|
||||||
if($fields->Count() && $folder->exists()) {
|
if($fields->Count() && $folder->exists()) {
|
||||||
$tabs->push($tabDetails = new Tab('DetailsView', _t('AssetAdmin.DetailsView', 'Details')));
|
$tabs->push($tabDetails = new Tab('DetailsView', _t('AssetAdmin.DetailsView', 'Details')));
|
||||||
foreach($fields as $field) {
|
foreach($fields as $field) {
|
||||||
|
Loading…
Reference in New Issue
Block a user