Actions
Bug #102369
openHide "Add content"-button for localized columns on disabled mod.web_layout.localization.enableCopy
Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2023-11-13
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
UX
Complexity:
Is Regression:
Sprint Focus:
Description
tl;dr¶
The "Add content"-button for localized columns should be hidden if mod.web_layout.localization.enableCopy is disabled.
Steps to reproduce¶
1. Page TSconfig:¶
mod.web_layout {
localization {
// Only "translate" is enabled --> translation-mode "connected"
enableCopy = 0
enableTranslate = 1
}
}
2. Module "Web: Page": Editor can add new content¶
- No translation-mode visible.
- Editor should not be able to add new content.
3. Add new CE:¶
- This sets translation-mode to "Free Mode" (see blue badge)
- And there are many "Add content"-buttons visibleā¦
4. Click on "Translate":¶
- "Can't translate" caused by page is in "Free Mode" but only "Connected Mode" is allowed.
What should happen instead¶
1. Page TSconfig:¶
mod.web_layout {
localization {
// Only "translate" is enabled --> translation-mode "connected"
enableCopy = 0
enableTranslate = 1
}
}
2. Module "Web: Page": Editor can't add content:¶
- No "Add content"-button visible
- Translation mode "Connected Mode" already visible (see blue badge)
3. Click on "Translate" (already working):¶
- Wizards jumps directly to step 3 of 4 (already working).
4. Editor sees records to translate (already working):¶
- Still no "Add content"-buttons visible (already working).
- Translation mode "Connected Mode" visible (see blue badge; already working).
Files
Actions