Commit 3a7dce5b authored by Wouter Wolters's avatar Wouter Wolters Committed by Nicole Cordes
Browse files

[TASK] Replace icon by IconFactory: apps-toolbar-menu-workspace

Resolves: #69684
Releases: master
Change-Id: I25315d85215109171dda0ed8f4e5e712482f9632
Reviewed-on: http://review.typo3.org/43212


Reviewed-by: default avatarMorton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: default avatarMorton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Nicole Cordes's avatarNicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes's avatarNicole Cordes <typo3@cordes.co>
parent 81ea1d8f
......@@ -250,13 +250,10 @@ class PageTreeNavigationController {
protected function getWorkspaceInfo() {
if (ExtensionManagementUtility::isLoaded('workspaces') && ($this->getBackendUser()->workspace !== 0 || $this->getBackendUser()->getTSConfigVal('options.pageTree.onlineWorkspaceInfo'))) {
$wsTitle = htmlspecialchars(WorkspaceService::getWorkspaceTitle($this->getBackendUser()->workspace));
$workspaceInfo = '
<div class="bgColor4 workspace-info">' . IconUtility::getSpriteIcon('apps-toolbar-menu-workspace', array(
'title' => $wsTitle,
'onclick' => 'top.goToModule(\'web_WorkspacesWorkspaces\');',
'style' => 'cursor:pointer;'
)) . $wsTitle . '</div>
';
$workspaceInfo = '<div class="bgColor4 workspace-info"><span title="' . $wsTitle . '" onclick="top.goToModule(\'web_WorkspacesWorkspaces\');" style="cursor:pointer;">'
. $this->iconFactory->getIcon('apps-toolbar-menu-workspace', Icon::SIZE_SMALL)->render() . '</span>'
. $wsTitle . '</div>';
} else {
$workspaceInfo = '';
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment