- {this.buildSettingComponent({
- type: 'text',
- setting: 'forum_title',
- label: app.translator.trans('core.admin.basics.forum_title_heading'),
- })}
- {this.buildSettingComponent({
- type: 'text',
- setting: 'forum_description',
- label: app.translator.trans('core.admin.basics.forum_description_heading'),
- help: app.translator.trans('core.admin.basics.forum_description_text'),
- })}
-
- {Object.keys(this.localeOptions).length > 1 && (
- <>
- {this.buildSettingComponent({
- type: 'select',
- setting: 'default_locale',
- options: this.localeOptions,
- label: app.translator.trans('core.admin.basics.default_language_heading'),
- })}
- {this.buildSettingComponent({
- type: 'switch',
- setting: 'show_language_selector',
- label: app.translator.trans('core.admin.basics.show_language_selector_label'),
- })}
- >
- )}
-
-
-
-
-
-
{app.translator.trans('core.admin.basics.welcome_banner_text')}
-
-
-
-
- {Object.keys(this.displayNameOptions).length > 1 &&
- this.buildSettingComponent({
- type: 'select',
- setting: 'display_name_driver',
- options: this.displayNameOptions,
- label: app.translator.trans('core.admin.basics.display_name_heading'),
- help: app.translator.trans('core.admin.basics.display_name_text'),
- })}
-
- {Object.keys(this.slugDriverOptions).map((model) => {
- const options = this.slugDriverOptions[model];
-
- if (Object.keys(options).length > 1) {
- return this.buildSettingComponent({
- type: 'select',
- setting: `slug_driver_${model}`,
- options,
- label: app.translator.trans('core.admin.basics.slug_driver_heading', { model }),
- help: app.translator.trans('core.admin.basics.slug_driver_text', { model }),
- });
- }
-
- return null;
- })}
-
+ {this.contentItems().toArray()}
{this.submitButton()}
,
];
@@ -135,4 +64,111 @@ export default class BasicsPage