complete hooks for post receive

This commit is contained in:
Dmitriy Zaporozhets 2012-01-08 13:20:20 +02:00
parent 57ac5fe99f
commit 473445c76f
7 changed files with 64 additions and 5 deletions

View file

@ -1,4 +1,8 @@
= render "repositories/head"
.right= link_to "Add new", new_project_hook_path(@project), :class => "grey-button append-bottom-10"
- unless @hooks.empty?
%div.update-data.ui-box.ui-box-small
@ -14,3 +18,13 @@
- else
%h3 No hooks
.clear
%h3 Help
%p
Post receive hooks. For now only POST request allowed. We send some data with request. Example below
.view_file
.view_file_header
%strong POST data passed
.data.no-padding
= render "data_ex"