mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-08 06:22:53 +00:00
fix: settings module layout
This commit is contained in:
@@ -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'],
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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',
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -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],
|
||||||
]);
|
]);
|
||||||
|
|||||||
Reference in New Issue
Block a user