diff options
author | Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | 2015-09-15 21:46:11 +0300 |
---|---|---|
committer | Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | 2015-09-15 21:46:11 +0300 |
commit | 34e1ce130f829605fc6ba34bc12ea7e0412d9bba (patch) | |
tree | 596531a8a389524223b11c3c457a45486db0097d | |
parent | bc10a48c9789ab193177e6b2443e29e31cf539e5 (diff) |
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
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
-rw-r--r-- | app/models/project_services/slack_service.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/models/project_services/slack_service.rb b/app/models/project_services/slack_service.rb index 36d9874edd3..7cd5e892507 100644 --- a/app/models/project_services/slack_service.rb +++ b/app/models/project_services/slack_service.rb @@ -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', |