Этот коммит содержится в:
=Corey Hulen
2016-02-02 08:42:36 -08:00
родитель 8e8fa97e6b
Коммит ff54da2e4a
4 изменённых файлов: 308 добавлений и 57 удалений

Просмотреть файл

@@ -25,6 +25,14 @@ const holders = defineMessages({
outDesc: {
id: 'user.settings.integrations.outWebhooksDescription',
defaultMessage: 'Manage your outgoing webhooks'
},
cmdName: {
id: 'user.settings.integrations.commands',
defaultMessage: 'Commands'
},
cmdDesc: {
id: 'user.settings.integrations.commandsDescription',
defaultMessage: 'Manage your commands'
}
});
@@ -116,7 +124,7 @@ class UserSettingsIntegrationsTab extends React.Component {
commandHooksSection = (
<SettingItemMax
title='Commands'
title={formatMessage(holders.cmdName)}
width='medium'
inputs={inputs}
updateSection={(e) => {
@@ -128,9 +136,9 @@ class UserSettingsIntegrationsTab extends React.Component {
} else {
commandHooksSection = (
<SettingItemMin
title='Commands'
title={formatMessage(holders.cmdName)}
width='medium'
describe='Manage your commands'
describe={formatMessage(holders.cmdDesc)}
updateSection={() => {
this.updateSection('command-hooks');
}}