From bc6b443c3db4f260bdc1460009c8110b54b3c257 Mon Sep 17 00:00:00 2001 From: Ash Bike Date: Sun, 5 Jul 2015 02:16:18 +0530 Subject: Slack channel can be overridden to post to another channel/private group or send direct messages. Need to make these database changes: INSERT INTO settings VALUES ('integration_slack_webhook_channel', ''); ALTER TABLE project_integrations ADD COLUMN slack_webhook_channel text; --- app/Template/project/integrations.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/Template/project/integrations.php') diff --git a/app/Template/project/integrations.php b/app/Template/project/integrations.php index 698e438c..445e7bfb 100644 --- a/app/Template/project/integrations.php +++ b/app/Template/project/integrations.php @@ -85,6 +85,8 @@ form->label(t('Webhook URL'), 'slack_webhook_url') ?> form->text('slack_webhook_url', $values, $errors) ?> + form->label(t('Channel/Group/User (Optional)'), 'slack_webhook_channel') ?> + form->text('slack_webhook_channel', $values, $errors) ?>

-- cgit v1.2.3