[TASK] Save pixels: hide Workspace toolbar item when unused 68/40368/5
authorFelix Kopp <felix-source@phorax.com>
Wed, 17 Jun 2015 15:21:37 +0000 (17:21 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Thu, 18 Jun 2015 19:35:38 +0000 (21:35 +0200)
commit948bbcc20addf9fd41700766688a592a0b9e8c89
tree61ff297713011f7d308cc2ca24a2303156c2f1d8
parent89e7bdf4cd2e21e5d304fb4e7cedc98147f99b8d
[TASK] Save pixels: hide Workspace toolbar item when unused

In use case where EXT: workspaces is installed and activated but no
additional Workspaces (sys_workspace) records are added TYPO3
should assume that Workspaces are unused. No permanently visible
button should sit in the topbar.

Resolves: #67568
Releases: master
Change-Id: I1a4bd40df79458690ce1c0d9e141dd71247d8cbf
Reviewed-on: http://review.typo3.org/40368
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/workspaces/Classes/Backend/ToolbarItems/WorkspaceSelectorToolbarItem.php