fix: settings module layout

This commit is contained in:
Rainer Killinger
2025-08-15 15:47:03 +02:00
parent ce17155cfb
commit 05bf965941
4 changed files with 7 additions and 6 deletions

View File

@@ -5,7 +5,7 @@ const userGroupSetting = {
categories: ['profile'], categories: ['profile'],
defaultValue: 'students', defaultValue: 'students',
description: description:
'The user group the app is going to be used.' + 'The user group the app is going to use primarily.' +
' This settings for example is getting used for the predefined price category of mensa meals.', ' This settings for example is getting used for the predefined price category of mensa meals.',
inputType: SCSettingInputType.SingleChoice, inputType: SCSettingInputType.SingleChoice,
name: 'group', name: 'group',
@@ -25,7 +25,7 @@ const userGroupSetting = {
}, },
en: { en: {
description: description:
'The user group the app is going to be used.' + 'The user group the app is going to use primarily.' +
' This settings for example is getting used for the predefined price category of mensa meals.', ' This settings for example is getting used for the predefined price category of mensa meals.',
name: 'Group', name: 'Group',
values: ['students', 'employees', 'guests'], values: ['students', 'employees', 'guests'],

View File

@@ -33,7 +33,7 @@
} }
<ion-card-content> <ion-card-content>
@if (!compactView) { @if (!compactView) {
<ion-note>{{ 'description' | thingTranslate: setting | titlecase }}</ion-note> <ion-note>{{ 'description' | thingTranslate: setting }}</ion-note>
} }
@if (isVisible) { @if (isVisible) {
<div> <div>

View File

@@ -304,7 +304,7 @@ describe('SettingsProvider', () => {
}, },
en: { en: {
description: description:
'The user group the app is going to be used.' + 'The user group the app is going to use primarily.' +
' This settings for example is getting used for the predefined price category of mensa meals.', ' This settings for example is getting used for the predefined price category of mensa meals.',
name: 'Group', name: 'Group',
}, },

View File

@@ -158,4 +158,5 @@ const iconMap = new Map<string, MaterialSymbol>([
[ellipsisHorizontal, SCIcon.more_horiz], [ellipsisHorizontal, SCIcon.more_horiz],
['chevron-down-outline', SCIcon.expand_more], ['chevron-down-outline', SCIcon.expand_more],
['arrow_back', SCIcon.arrow_back], ['arrow_back', SCIcon.arrow_back],
['expand_more', SCIcon.expand_more],
]); ]);