Skip to content

Commit

Permalink
[TASK] Add view mode settings for list view
Browse files Browse the repository at this point in the history
  • Loading branch information
dot3media committed Apr 16, 2024
1 parent 524986e commit 27af37d
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 0 deletions.
36 changes: 36 additions & 0 deletions Configuration/FlexForms/flexform_profile_list.xml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,42 @@
</config>
</TCEforms>
</settings.demand.profileList>
<settings.viewMode.enabled>
<TCEforms>
<label>LLL:EXT:academic_persons/Resources/Private/Language/locallang_be.xlf:flexform.el.viewMode.enabled.label</label>
<config>
<type>check</type>
<renderType>checkboxToggle</renderType>
<items>
<numIndex index="0" type="array">
<numIndex index="0">LLL:EXT:academic_persons/Resources/Private/Language/locallang_be.xlf:flexform.el.viewMode.enabled.items.0.label</numIndex>
<labelChecked>Enabled</labelChecked>
<labelUnchecked>Disabled</labelUnchecked>
</numIndex>
</items>
</config>
</TCEforms>
</settings.viewMode.enabled>
<settings.viewMode.default>
<TCEforms>
<label>LLL:EXT:academic_persons/Resources/Private/Language/locallang_be.xlf:flexform.el.viewMode.default.label</label>
<config>
<type>select</type>
<renderType>selectSingle</renderType>
<items>
<numIndex index="1" type="array">
<numIndex index="0">LLL:EXT:academic_persons/Resources/Private/Language/locallang_be.xlf:flexform.el.viewMode.default.I.list</numIndex>
<numIndex index="1">list</numIndex>
</numIndex>
<numIndex index="0" type="array">
<numIndex index="0">LLL:EXT:academic_persons/Resources/Private/Language/locallang_be.xlf:flexform.el.viewMode.default.I.table</numIndex>
<numIndex index="1">table</numIndex>
</numIndex>
</items>
<default>asc</default>
</config>
</TCEforms>
</settings.viewMode.default>
<settings.fallbackForNonTranslated>
<TCEforms>
<label>LLL:EXT:academic_persons/Resources/Private/Language/locallang_be.xlf:flexform.el.fallbackForNonTranslated.label</label>
Expand Down
20 changes: 20 additions & 0 deletions Resources/Private/Language/de.locallang_be.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,26 @@
<source>List of profiles</source>
<target>Liste von Profilen</target>
</trans-unit>
<trans-unit id="flexform.el.viewMode.enabled.label">
<source>View Mode Toggle</source>
<target>Ansichtsmodus-Umschalter</target>
</trans-unit>
<trans-unit id="flexform.el.viewMode.enabled.items.0.label">
<source>Enabled</source>
<target>Aktiviert</target>
</trans-unit>
<trans-unit id="flexform.el.viewMode.default.label">
<source>View Mode Default</source>
<target>Standard für Ansichtsmodus</target>
</trans-unit>
<trans-unit id="flexform.el.viewMode.default.I.list">
<source>List</source>
<target>Liste</target>
</trans-unit>
<trans-unit id="flexform.el.viewMode.default.I.table">
<source>Table</source>
<target>Tabelle</target>
</trans-unit>
<trans-unit id="flexform.el.fallbackForNonTranslated.label">
<source>Fallback to default language for non translated profiles</source>
<target>Fallback auf die Standardsprache für nicht übersetzte Profile</target>
Expand Down
15 changes: 15 additions & 0 deletions Resources/Private/Language/locallang_be.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,21 @@
<trans-unit id="flexform.el.profileList.label">
<source>List of profiles</source>
</trans-unit>
<trans-unit id="flexform.el.viewMode.enabled.label">
<source>View Mode Toggle</source>
</trans-unit>
<trans-unit id="flexform.el.viewMode.enabled.items.0.label">
<source>Enabled</source>
</trans-unit>
<trans-unit id="flexform.el.viewMode.default.label">
<source>View Mode Default</source>
</trans-unit>
<trans-unit id="flexform.el.viewMode.default.I.list">
<source>List</source>
</trans-unit>
<trans-unit id="flexform.el.viewMode.default.I.table">
<source>Table</source>
</trans-unit>
<trans-unit id="flexform.el.fallbackForNonTranslated.label">
<source>Fallback to default language for non translated profiles</source>
</trans-unit>
Expand Down

0 comments on commit 27af37d

Please sign in to comment.