mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-12 11:24:31 +02:00
Moved rootNodeRedirectsToNewEntity option to new settings system
This commit is contained in:
parent
9812671a89
commit
6e28f2a74e
2 changed files with 10 additions and 0 deletions
|
@ -68,5 +68,9 @@ class SidebarSettings
|
||||||
#[SettingsParameter(label: new TM("settings.behavior.sidebar.rootNodeExpanded"))]
|
#[SettingsParameter(label: new TM("settings.behavior.sidebar.rootNodeExpanded"))]
|
||||||
public bool $rootNodeExpanded = true;
|
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;
|
public bool $rootNodeRedirectsToNewEntity = false;
|
||||||
}
|
}
|
|
@ -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>
|
<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>
|
</segment>
|
||||||
</unit>
|
</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>
|
</file>
|
||||||
</xliff>
|
</xliff>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue