mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Tree metadata naming
This commit is contained in:
parent
23148b959a
commit
7e0d0a4dee
@ -640,7 +640,7 @@ class LeftAndMain extends Controller implements PermissionProvider {
|
|||||||
$titleFn = function(&$child) use(&$controller, &$recordController) {
|
$titleFn = function(&$child) use(&$controller, &$recordController) {
|
||||||
$classes = $child->CMSTreeClasses();
|
$classes = $child->CMSTreeClasses();
|
||||||
if($controller->isCurrentPage($child)) $classes .= " current";
|
if($controller->isCurrentPage($child)) $classes .= " current";
|
||||||
return "<li id=\"record-$child->ID\" data-id=\"$child->ID\" data-ssclass=\"$child->ClassName\" class=\"" . $classes . "\">" .
|
return "<li id=\"record-$child->ID\" data-id=\"$child->ID\" data-pagetype=\"$child->ClassName\" class=\"" . $classes . "\">" .
|
||||||
"<ins class=\"jstree-icon\"> </ins>" .
|
"<ins class=\"jstree-icon\"> </ins>" .
|
||||||
"<a href=\"" . Controller::join_links($recordController->Link("show"), $child->ID) . "\" title=\"" .
|
"<a href=\"" . Controller::join_links($recordController->Link("show"), $child->ID) . "\" title=\"" .
|
||||||
_t('LeftAndMain.PAGETYPE','Page type: ') .
|
_t('LeftAndMain.PAGETYPE','Page type: ') .
|
||||||
|
Loading…
Reference in New Issue
Block a user