Commit 90342c9e authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Add help section for services

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent afe1ff41
......@@ -41,6 +41,10 @@ class JenkinsService < CiService
'An extendable open source continuous integration server'
end
def help
'You must have installed GitLab Hook plugin into Jenkins.'
end
def to_param
'jenkins'
end
......
......@@ -45,6 +45,10 @@ class Service < ActiveRecord::Base
# implement inside child
end
def help
# implement inside child
end
def to_param
# implement inside child
end
......
......@@ -18,6 +18,10 @@
%li= msg
- if @service.help.present?
.bs-callout
= @service.help
.form-group
= f.label :active, "Active", class: "control-label"
.col-sm-10
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment