summaryrefslogtreecommitdiff
path: root/app/views/hooks/index.html.haml
blob: d00b06776212429d4f3fab01d502030f11619e41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
= render "repositories/head"

- 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

%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"