19 lines
562 B
Plaintext
19 lines
562 B
Plaintext
= render "repositories/head"
|
|
|
|
- if can? current_user, :admin_project, @project
|
|
.alert-message.block-message
|
|
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
|
|
|
|
%ul.unstyled
|
|
- @hooks.each do |hook|
|
|
%li.wll
|
|
= link_to project_hook_path(@project, hook) do
|
|
= hook.url
|
|
|
|
.alert-message.block-message.info
|
|
We send some data with POST request when someone makes git push
|
|
|
|
.well= render "data_ex"
|