summaryrefslogtreecommitdiff
path: root/app/views/hooks
diff options
context:
space:
mode:
authorrandx <dmitriy.zaporozhets@gmail.com>2012-03-28 10:46:51 +0300
committerrandx <dmitriy.zaporozhets@gmail.com>2012-03-28 10:46:51 +0300
commit69ef81404c7a8fba315b28d850fc9cf2da801a84 (patch)
tree5ef446088899b70ce9dc71c8a56380abf8acd37d /app/views/hooks
parent88d9569a33a3c66ed34db45c9b6cf4e04ea0fcf3 (diff)
downloadgitlab-ce-69ef81404c7a8fba315b28d850fc9cf2da801a84.tar.gz
UI improved, .main_box css class for show pages
Diffstat (limited to 'app/views/hooks')
-rw-r--r--app/views/hooks/index.html.haml10
1 files changed, 4 insertions, 6 deletions
diff --git a/app/views/hooks/index.html.haml b/app/views/hooks/index.html.haml
index 64497a1c5e3..672d2bb0565 100644
--- a/app/views/hooks/index.html.haml
+++ b/app/views/hooks/index.html.haml
@@ -6,16 +6,14 @@
= link_to new_project_hook_path(@project), :class => "btn small", :title => "New Web Hook" do
Add Post Receive Hook
+ %p Read more about web hooks #{link_to "here", help_web_hooks_path, :class => "vlink"}
+
-if @hooks.any?
- %table.zebra-striped.borders
+ %table
- @hooks.each do |hook|
%tr
%td
= link_to project_hook_path(@project, hook) do
= hook.url
%td
- = link_to 'Remove', project_hook_path(@project, hook), :confirm => 'Are you sure?', :method => :delete, :class => "danger btn small"
-
-.ui-box
- %h5 Hooks request example
- .data= render "data_ex"
+ = link_to 'Remove', project_hook_path(@project, hook), :confirm => 'Are you sure?', :method => :delete, :class => "danger btn small right"