Merge branch 'add-copyright-footer-admin-settings' into 'admin_cfg'
Add copyright footer setting See merge request soapbox-pub/soapbox-fe!121
This commit is contained in:
commit
4717638ea8
1 changed files with 10 additions and 0 deletions
|
@ -23,6 +23,7 @@ import { postSoapbox } from 'soapbox/actions/soapbox';
|
|||
|
||||
const messages = defineMessages({
|
||||
heading: { id: 'column.soapbox_settings', defaultMessage: 'Soapbox settings' },
|
||||
copyrightFooterLabel: { id: 'soapbox_settings.copyright_footer.meta_fields.label_placeholder', defaultMessage: 'Copyright footer' },
|
||||
promoItemIcon: { id: 'soapbox_settings.promo_panel.meta_fields.icon_placeholder', defaultMessage: 'Icon' },
|
||||
promoItemLabel: { id: 'soapbox_settings.promo_panel.meta_fields.label_placeholder', defaultMessage: 'Label' },
|
||||
promoItemURL: { id: 'soapbox_settings.promo_panel.meta_fields.url_placeholder', defaultMessage: 'URL' },
|
||||
|
@ -313,6 +314,15 @@ class ConfigSoapbox extends ImmutablePureComponent {
|
|||
onChange={this.handleCheckboxChange}
|
||||
/>
|
||||
</FieldsGroup>
|
||||
<FieldsGroup>
|
||||
<TextInput
|
||||
name='copyright'
|
||||
label={intl.formatMessage(messages.copyrightFooterLabel)}
|
||||
placeholder={intl.formatMessage(messages.copyrightFooterLabel)}
|
||||
value={this.state.copyright}
|
||||
onChange={this.handleTextChange}
|
||||
/>
|
||||
</FieldsGroup>
|
||||
<FieldsGroup>
|
||||
<div className='fields-row__column fields-group'>
|
||||
<div className='input with_block_label'>
|
||||
|
|
Loading…
Reference in a new issue