mirror of
https://github.com/mue/mue.git
synced 2026-07-27 18:51:05 +02:00
fix: various modal tab fixes and changes, reorder some settings, fix marketplace
This commit is contained in:
@@ -80,7 +80,7 @@ export default class DateSettings extends PureComponent {
|
||||
zoomSetting="zoomDate"
|
||||
switch={true}
|
||||
/>
|
||||
<SettingsItem title={getMessage('modals.main.settings.sections.time.type')}>
|
||||
<SettingsItem title={getMessage('modals.main.settings.sections.time.type')} subtitle="Whether to display the date in long form or short form">
|
||||
<Dropdown
|
||||
name="dateType"
|
||||
onChange={(value) => this.setState({ dateType: value })}
|
||||
@@ -94,7 +94,16 @@ export default class DateSettings extends PureComponent {
|
||||
</option>
|
||||
</Dropdown>
|
||||
</SettingsItem>
|
||||
<SettingsItem title="Extra Options" final={true}>
|
||||
<SettingsItem
|
||||
title={
|
||||
this.state.dateType === 'long'
|
||||
? getMessage('modals.main.settings.sections.date.type.long')
|
||||
: getMessage('modals.main.settings.sections.date.type.short')
|
||||
}
|
||||
subtitle="Display settings and format for the selected date type"
|
||||
final={true}
|
||||
>
|
||||
{this.state.dateType === 'long' ? longSettings : shortSettings}
|
||||
<Checkbox
|
||||
name="weeknumber"
|
||||
text={getMessage('modals.main.settings.sections.date.week_number')}
|
||||
@@ -105,7 +114,6 @@ export default class DateSettings extends PureComponent {
|
||||
text={getMessage('modals.main.settings.sections.time.digital.zero')}
|
||||
category="date"
|
||||
/>
|
||||
{(this.state.dateType === 'long') ? longSettings : shortSettings}
|
||||
</SettingsItem>
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user