gitlabhq/app/views/hooks/index.html.haml

23 lines
739 B
Plaintext
Raw Normal View History

= render "projects/project_head"
2012-01-04 01:07:56 +01:00
2012-01-28 11:40:17 +01:00
- if can? current_user, :admin_project, @project
2012-02-11 22:22:33 +01:00
.alert-message.block-message
2012-01-28 11:40:17 +01:00
Post receive hooks for binding events when someone push to repository.
= link_to new_project_hook_path(@project), :class => "btn small", :title => "New Web Hook" do
Add Post Receive Hook
2012-01-08 12:20:20 +01:00
2012-02-18 14:59:01 +01:00
%table.zebra-striped.borders
2012-01-28 11:40:17 +01:00
- @hooks.each do |hook|
2012-02-18 14:59:01 +01:00
%tr
%td
= link_to project_hook_path(@project, hook) do
= hook.url
%td
= link_to 'Remove', project_hook_path(@project, hook), :confirm => 'Are you sure?', :method => :delete, :class => "danger btn small"
2012-01-28 11:40:17 +01:00
2012-02-18 14:59:01 +01:00
.alert-message.block-message
2012-01-28 11:40:17 +01:00
We send some data with POST request when someone makes git push
.well= render "data_ex"