gitlab-org--gitlab-foss/app/views/hooks/show.html.haml

8 lines
322 B
Plaintext
Raw Normal View History

2012-01-04 00:07:56 +00:00
= render "repositories/head"
2012-01-28 10:40:17 +00:00
%pre= @hook.url
2012-01-04 00:07:56 +00:00
- if can? current_user, :admin_project, @project
2012-01-28 10:40:17 +00: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"