/admin --> /soapbox/config
This commit is contained in:
parent
3b808b6a26
commit
2470e59596
|
@ -177,7 +177,7 @@ class SidebarMenu extends ImmutablePureComponent {
|
||||||
<Icon id='shield' />
|
<Icon id='shield' />
|
||||||
<span className='sidebar-menu-item__title'>{intl.formatMessage(messages.admin_settings)}</span>
|
<span className='sidebar-menu-item__title'>{intl.formatMessage(messages.admin_settings)}</span>
|
||||||
</a> }
|
</a> }
|
||||||
{ isStaff && <NavLink className='sidebar-menu-item' to='/admin' onClick={onClose}>
|
{ isStaff && <NavLink className='sidebar-menu-item' to='/soapbox/config' onClick={onClose}>
|
||||||
<Icon id='cog' />
|
<Icon id='cog' />
|
||||||
<span className='sidebar-menu-item__title'>{intl.formatMessage(messages.soapbox_config)}</span>
|
<span className='sidebar-menu-item__title'>{intl.formatMessage(messages.soapbox_config)}</span>
|
||||||
</NavLink> }
|
</NavLink> }
|
||||||
|
|
|
@ -82,7 +82,7 @@ class ActionBar extends React.PureComponent {
|
||||||
menu.push({ text: intl.formatMessage(messages.keyboard_shortcuts), action: this.handleHotkeyClick });
|
menu.push({ text: intl.formatMessage(messages.keyboard_shortcuts), action: this.handleHotkeyClick });
|
||||||
if (isStaff) {
|
if (isStaff) {
|
||||||
menu.push({ text: intl.formatMessage(messages.admin_settings), href: '/pleroma/admin', newTab: true });
|
menu.push({ text: intl.formatMessage(messages.admin_settings), href: '/pleroma/admin', newTab: true });
|
||||||
menu.push({ text: intl.formatMessage(messages.soapbox_config), to: '/admin' });
|
menu.push({ text: intl.formatMessage(messages.soapbox_config), to: '/soapbox/config' });
|
||||||
}
|
}
|
||||||
menu.push({ text: intl.formatMessage(messages.preferences), to: '/settings/preferences' });
|
menu.push({ text: intl.formatMessage(messages.preferences), to: '/settings/preferences' });
|
||||||
menu.push({ text: intl.formatMessage(messages.security), to: '/auth/edit' });
|
menu.push({ text: intl.formatMessage(messages.security), to: '/auth/edit' });
|
||||||
|
|
|
@ -255,7 +255,7 @@ class SwitchingColumnsArea extends React.PureComponent {
|
||||||
<Redirect exact from='/settings' to='/settings/preferences' />
|
<Redirect exact from='/settings' to='/settings/preferences' />
|
||||||
<WrappedRoute path='/settings/preferences' layout={LAYOUT.DEFAULT} component={Preferences} content={children} />
|
<WrappedRoute path='/settings/preferences' layout={LAYOUT.DEFAULT} component={Preferences} content={children} />
|
||||||
<WrappedRoute path='/settings/profile' layout={LAYOUT.DEFAULT} component={EditProfile} content={children} />
|
<WrappedRoute path='/settings/profile' layout={LAYOUT.DEFAULT} component={EditProfile} content={children} />
|
||||||
<WrappedRoute path='/admin' layout={LAYOUT.DEFAULT} component={SoapboxConfig} content={children} />
|
<WrappedRoute path='/soapbox/config' layout={LAYOUT.DEFAULT} component={SoapboxConfig} content={children} />
|
||||||
|
|
||||||
<WrappedRoute layout={LAYOUT.EMPTY} component={GenericNotFound} content={children} />
|
<WrappedRoute layout={LAYOUT.EMPTY} component={GenericNotFound} content={children} />
|
||||||
</Switch>
|
</Switch>
|
||||||
|
|
Loading…
Reference in New Issue