26 lines
654 B
Plaintext
26 lines
654 B
Plaintext
= render "repositories/head"
|
|
- unless @hooks.empty?
|
|
%div.update-data.ui-box.ui-box-small
|
|
.data
|
|
- @hooks.each do |hook|
|
|
%a.update-item{:href => project_hook_path(@project, hook)}
|
|
%span.update-title{:style => "margin-bottom:0px;"}
|
|
= hook.url
|
|
%span.update-author.right
|
|
Added
|
|
= time_ago_in_words(hook.created_at)
|
|
ago
|
|
- else
|
|
%h3 No hooks
|
|
|
|
.clear
|
|
%hr
|
|
%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"
|