Task #89829

Hide toolbar select items if only 1 option

Added by Georg Ringer 5 days ago. Updated 5 days ago.

Status:
Resolved
Priority:
Should have
Assignee:
Category:
Backend User Interface
Start date:
2019-12-02
Due date:
% Done:

100%

TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

If only one option is available, there is no sense in having a select field, therefore it should be hidden.

one use case to test:

- a page without translations

Associated revisions

Revision 0292f703 (diff)
Added by Georg Ringer 5 days ago

[BUGFIX] Show toolbar select only if at least 2 options

Simplify the UI of the toolbar by hiding the select field
if there is only one option to choose from which doesn't make sense.

Resolves: #89829
Releases: master
Change-Id: I6e58aae1bab25777bca21f058524e447f569d73a
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62517
Tested-by: TYPO3com <>
Tested-by: Markus Klein <>
Tested-by: Benni Mack <>
Reviewed-by: Joerg Kummer <>
Reviewed-by: Markus Klein <>
Reviewed-by: Benni Mack <>

History

#1 Updated by Gerrit Code Review 5 days ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62517

#2 Updated by Georg Ringer 5 days ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF