Merge branch 'slack-help-text' into 'master'

Add a help text to the Slack Service

When setting up the service I was not sure which webhook I should use, by adding
this Help text I hope we can help people in the future with setting up this hook

See merge request !1302
This commit is contained in:
Drew Blessing 2015-09-15 20:36:32 +00:00
commit 0ad669bb5b
1 changed files with 6 additions and 0 deletions

View File

@ -34,6 +34,12 @@ class SlackService < Service
'slack'
end
def help
'This service sends notifications to your Slack channel.<br/>
To setup this Service you need to create a new <b>"Incoming webhook"</b> in your Slack integration panel,
and enter the Webhook URL below.'
end
def fields
[
{ type: 'text', name: 'webhook',