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