2012-01-04 01:07:56 +01:00
|
|
|
= render "repositories/head"
|
2012-01-28 11:40:17 +01:00
|
|
|
%pre= @hook.url
|
2012-01-04 01:07:56 +01:00
|
|
|
|
|
|
|
- if can? current_user, :admin_project, @project
|
2012-01-28 11:40:17 +01:00
|
|
|
.actions
|
|
|
|
= link_to 'Test Hook', test_project_hook_path(@project, @hook), :class => "btn"
|
|
|
|
= link_to 'Remove', project_hook_path(@project, @hook), :confirm => 'Are you sure?', :method => :delete, :class => "danger btn"
|