2012-01-03 22:42:14 +00:00
|
|
|
= render "repositories/head"
|
2012-01-04 00:07:56 +00:00
|
|
|
|
2012-01-28 10:40:17 +00:00
|
|
|
- if can? current_user, :admin_project, @project
|
2012-02-11 21:22:33 +00:00
|
|
|
.alert-message.block-message
|
2012-01-28 10:40:17 +00: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 11:20:20 +00:00
|
|
|
|
2012-01-28 10:40:17 +00:00
|
|
|
%ul.unstyled
|
|
|
|
- @hooks.each do |hook|
|
2012-02-11 21:22:33 +00:00
|
|
|
%li.wll
|
|
|
|
= link_to project_hook_path(@project, hook) do
|
2012-01-28 10:40:17 +00:00
|
|
|
= hook.url
|
|
|
|
|
|
|
|
.alert-message.block-message.info
|
|
|
|
We send some data with POST request when someone makes git push
|
|
|
|
|
|
|
|
.well= render "data_ex"
|