summaryrefslogtreecommitdiff
path: root/app/views/hooks
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-01-04 00:42:14 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-01-04 00:42:14 +0200
commit2dae0e18e09132c0db32c8646d8d11b30cfcb83f (patch)
treeb28e2b90fae53324750e82e47898ab815c0bb82e /app/views/hooks
parent8d7aaf0e5501c472504467b9252dd5bde14a98c8 (diff)
downloadgitlab-ce-2dae0e18e09132c0db32c8646d8d11b30cfcb83f.tar.gz
web hooks scaffold started
Diffstat (limited to 'app/views/hooks')
-rw-r--r--app/views/hooks/index.html.haml10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/views/hooks/index.html.haml b/app/views/hooks/index.html.haml
new file mode 100644
index 00000000000..956367393cb
--- /dev/null
+++ b/app/views/hooks/index.html.haml
@@ -0,0 +1,10 @@
+= render "repositories/head"
+- unless @hooks.empty?
+ %div.update-data.ui-box.ui-box-small
+ .data
+ - @hooks.each do |hook|
+ %a.update-item{:href => project_hooks_path(@project, hook)}
+ %span.update-title{:style => "margin-bottom:0px;"}
+ = hook.url
+- else
+ %h3 No hooks