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

12 lines
373 B
Plaintext
Raw Normal View History

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