gitlab-org--gitlab-foss/app/views/hooks/show.html.haml
2012-01-28 12:40:17 +02:00

7 lines
322 B
Text

= render "repositories/head"
%pre= @hook.url
- if can? current_user, :admin_project, @project
.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"