2012-01-04 01:07:56 +01:00
|
|
|
= render "repositories/head"
|
2012-01-08 12:20:20 +01:00
|
|
|
%h3
|
|
|
|
%span.commit.tag POST
|
|
|
|
= @hook.url
|
|
|
|
|
2012-01-04 01:07:56 +01:00
|
|
|
|
|
|
|
- if can? current_user, :admin_project, @project
|
|
|
|
.merge-tabs
|
2012-01-08 11:20:24 +01:00
|
|
|
= link_to 'Test Hook', test_project_hook_path(@project, @hook), :class => "grey-button"
|
2012-01-04 01:07:56 +01:00
|
|
|
.right
|
|
|
|
= link_to 'Remove', project_hook_path(@project, @hook), :confirm => 'Are you sure?', :method => :delete, :class => "red-button"
|