Moved rootNodeRedirectsToNewEntity option to new settings system

This commit is contained in:
Jan Böhmer 2025-07-06 19:09:10 +02:00
parent 9812671a89
commit 6e28f2a74e
2 changed files with 10 additions and 0 deletions

View file

@ -68,5 +68,9 @@ class SidebarSettings
#[SettingsParameter(label: new TM("settings.behavior.sidebar.rootNodeExpanded"))]
public bool $rootNodeExpanded = true;
/**
* @var bool Whether the root node should redirect to a new entity creation page when clicked.
*/
#[SettingsParameter(label: new TM("settings.behavior.sidebar.rootNodeRedirectsToNewEntity"))]
public bool $rootNodeRedirectsToNewEntity = false;
}

View file

@ -12922,5 +12922,11 @@ Please note, that you can not impersonate a disabled user. If you try you will g
<target>Pollin.de offers no official API, so this info provider webscrapes the website to extract info. It could break at any time, use it at your own risk.</target>
</segment>
</unit>
<unit id="TEm7uIg" name="settings.behavior.sidebar.rootNodeRedirectsToNewEntity">
<segment>
<source>settings.behavior.sidebar.rootNodeRedirectsToNewEntity</source>
<target>Root nodes redirect to new entity pages</target>
</segment>
</unit>
</file>
</xliff>