gitlabhq/app/views/hooks/index.html.haml

26 lines
654 B
Plaintext
Raw Normal View History

2012-01-03 23:42:14 +01:00
= render "repositories/head"
- unless @hooks.empty?
%div.update-data.ui-box.ui-box-small
.data
- @hooks.each do |hook|
2012-01-04 01:07:56 +01:00
%a.update-item{:href => project_hook_path(@project, hook)}
2012-01-03 23:42:14 +01:00
%span.update-title{:style => "margin-bottom:0px;"}
= hook.url
2012-01-04 01:07:56 +01:00
%span.update-author.right
Added
= time_ago_in_words(hook.created_at)
ago
2012-01-03 23:42:14 +01:00
- else
%h3 No hooks
2012-01-04 01:07:56 +01:00
2012-01-08 12:20:20 +01:00
.clear
2012-01-11 08:35:21 +01:00
%hr
2012-01-08 12:20:20 +01:00
%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"