Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Mazetto <gabriel@gitlab.com>2016-04-30 11:34:31 +0300
committerGabriel Mazetto <gabriel@gitlab.com>2016-05-02 16:32:01 +0300
commit00ced598ea65f1b957c43576bc1564ed3f67d749 (patch)
tree99b2dfc8972df739730da450849264e43f51d322 /app/views/projects/hooks
parent0cd5edf35cfaca74344dd389aadd65f0f179d395 (diff)
Added UI to define secret_token for webhook and systemhook
Codestyle changes to easy EE merge
Diffstat (limited to 'app/views/projects/hooks')
-rw-r--r--app/views/projects/hooks/index.html.haml5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/projects/hooks/index.html.haml b/app/views/projects/hooks/index.html.haml
index 6f1ee209430..36c1d69f060 100644
--- a/app/views/projects/hooks/index.html.haml
+++ b/app/views/projects/hooks/index.html.haml
@@ -16,6 +16,11 @@
= f.label :url, "URL", class: "label-light"
= f.text_field :url, class: "form-control", placeholder: "http://example.com/trigger-ci.json"
.form-group
+ = f.label :token, "Secret Token", class: 'label-light'
+ = f.text_field :token, class: "form-control", placeholder: ''
+ %p.help-block
+ Use this token to validate received payloads
+ .form-group
= f.label :url, "Trigger", class: "label-light"
%div
= f.check_box :push_events, class: "pull-left"