Polishin & fixed tree switch
This commit is contained in:
parent
cb59aade4e
commit
eb7bbedb20
11 changed files with 82 additions and 50 deletions
|
@ -6,17 +6,16 @@
|
|||
= link_to new_project_hook_path(@project), :class => "btn small", :title => "New Web Hook" do
|
||||
Add Post Receive Hook
|
||||
|
||||
%table.zebra-striped.borders
|
||||
- @hooks.each do |hook|
|
||||
%tr
|
||||
%td
|
||||
= link_to project_hook_path(@project, hook) do
|
||||
= hook.url
|
||||
%td
|
||||
= link_to 'Remove', project_hook_path(@project, hook), :confirm => 'Are you sure?', :method => :delete, :class => "danger btn small"
|
||||
-if @hooks.any?
|
||||
%table.zebra-striped.borders
|
||||
- @hooks.each do |hook|
|
||||
%tr
|
||||
%td
|
||||
= link_to project_hook_path(@project, hook) do
|
||||
= hook.url
|
||||
%td
|
||||
= link_to 'Remove', project_hook_path(@project, hook), :confirm => 'Are you sure?', :method => :delete, :class => "danger btn small"
|
||||
|
||||
|
||||
.alert-message.block-message
|
||||
We send some data with POST request when someone makes git push
|
||||
|
||||
.well= render "data_ex"
|
||||
.ui-box
|
||||
%h5 Hooks request example
|
||||
.data= render "data_ex"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue