mirror of
https://github.com/flarum/framework.git
synced 2024-12-05 09:03:36 +08:00
25 lines
570 B
JavaScript
25 lines
570 B
JavaScript
import SettingsModal from './SettingsModal';
|
|
|
|
export default class EditCustomFooterModal extends SettingsModal {
|
|
className() {
|
|
return 'EditCustomFooterModal Modal--large';
|
|
}
|
|
|
|
title() {
|
|
return app.translator.trans('core.admin.edit_footer.title');
|
|
}
|
|
|
|
form() {
|
|
return [
|
|
<p>{app.translator.trans('core.admin.edit_footer.customize_text')}</p>,
|
|
<div className="Form-group">
|
|
<textarea className="FormControl" rows="30" bidi={this.setting('custom_footer')} />
|
|
</div>,
|
|
];
|
|
}
|
|
|
|
onsaved() {
|
|
window.location.reload();
|
|
}
|
|
}
|