gitlabhq/app/views/hooks/show.html.haml
2012-01-08 12:20:24 +02:00

9 lines
345 B
Plaintext

= render "repositories/head"
%h3= @hook.url
- if can? current_user, :admin_project, @project
.merge-tabs
= link_to 'Test Hook', test_project_hook_path(@project, @hook), :class => "grey-button"
.right
= link_to 'Remove', project_hook_path(@project, @hook), :confirm => 'Are you sure?', :method => :delete, :class => "red-button"