Skip to content

Commit 6e28f2a

Browse files
committed
Moved rootNodeRedirectsToNewEntity option to new settings system
1 parent 9812671 commit 6e28f2a

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

src/Settings/BehaviorSettings/SidebarSettings.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,9 @@ class SidebarSettings
6868
#[SettingsParameter(label: new TM("settings.behavior.sidebar.rootNodeExpanded"))]
6969
public bool $rootNodeExpanded = true;
7070

71+
/**
72+
* @var bool Whether the root node should redirect to a new entity creation page when clicked.
73+
*/
74+
#[SettingsParameter(label: new TM("settings.behavior.sidebar.rootNodeRedirectsToNewEntity"))]
7175
public bool $rootNodeRedirectsToNewEntity = false;
7276
}

translations/messages.en.xlf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12922,5 +12922,11 @@ Please note, that you can not impersonate a disabled user. If you try you will g
1292212922
<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>
1292312923
</segment>
1292412924
</unit>
12925+
<unit id="TEm7uIg" name="settings.behavior.sidebar.rootNodeRedirectsToNewEntity">
12926+
<segment>
12927+
<source>settings.behavior.sidebar.rootNodeRedirectsToNewEntity</source>
12928+
<target>Root nodes redirect to new entity pages</target>
12929+
</segment>
12930+
</unit>
1292512931
</file>
1292612932
</xliff>

0 commit comments

Comments
 (0)