From 5536f6c6ce591ba05a169d2e33b6fb240378d8a4 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 28 Mar 2015 21:37:53 -0400 Subject: Add Slack integration --- app/Template/config/integrations.php | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 app/Template/config/integrations.php (limited to 'app/Template/config/integrations.php') diff --git a/app/Template/config/integrations.php b/app/Template/config/integrations.php new file mode 100644 index 00000000..104ebc16 --- /dev/null +++ b/app/Template/config/integrations.php @@ -0,0 +1,22 @@ + + +
+ + formCsrf() ?> + +

 

+
+ formCheckbox('integration_slack_webhook', t('Send notifications to a Slack channel'), 1, $values['integration_slack_webhook'] == 1) ?> + + formLabel(t('Webhook URL'), 'integration_slack_webhook_url') ?> + formText('integration_slack_webhook_url', $values, $errors) ?> + +

+
+ +
+ +
+
\ No newline at end of file -- cgit v1.2.3