summaryrefslogtreecommitdiff
path: root/app/views/hooks/show.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/hooks/show.html.haml')
-rw-r--r--app/views/hooks/show.html.haml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/hooks/show.html.haml b/app/views/hooks/show.html.haml
index 56b5fa9d3a1..6bc1132de27 100644
--- a/app/views/hooks/show.html.haml
+++ b/app/views/hooks/show.html.haml
@@ -1,7 +1,8 @@
= render "repositories/head"
-= debug @hook
+%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"