diff options
author | Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | 2014-03-05 20:44:01 +0100 |
---|---|---|
committer | Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | 2014-03-05 20:44:01 +0100 |
commit | 9a676ccc0a8dd26eb1ebd5042acbf31cfb906f91 (patch) | |
tree | b0679ea1f2a11f608c33a72a4b983bfa1447f424 /app/views/projects/hooks | |
parent | d02e129a549190c3bd26ed32eac13dfa62f2844d (diff) | |
download | gitlab-ce-9a676ccc0a8dd26eb1ebd5042acbf31cfb906f91.tar.gz |
Added tag_push_events to the web_hooks
* Added a scope to the web_hooks model
* Added extra checkbooks in de hooks overview window
Diffstat (limited to 'app/views/projects/hooks')
-rw-r--r-- | app/views/projects/hooks/index.html.haml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/app/views/projects/hooks/index.html.haml b/app/views/projects/hooks/index.html.haml index 00e5ae27779..866fd6f6066 100644 --- a/app/views/projects/hooks/index.html.haml +++ b/app/views/projects/hooks/index.html.haml @@ -27,6 +27,13 @@ %p.light This url will be triggered by a push to the repository %div + = f.check_box :tag_push_events, class: 'pull-left' + .prepend-left-20 + = f.label :tag_push_events, class: 'list-label' do + %strong Tag push events + %p.light + This url will be triggered when a new tag is pushed to the repository + %div = f.check_box :issues_events, class: 'pull-left' .prepend-left-20 = f.label :issues_events, class: 'list-label' do @@ -56,6 +63,6 @@ .clearfix %span.monospace= hook.url %p - - %w(push_events issues_events merge_requests_events).each do |trigger| + - %w(push_events tag_push_events issues_events merge_requests_events).each do |trigger| - if hook.send(trigger) %span.label.label-gray= trigger.titleize |