gitlab-org--gitlab-foss/app/views/hooks/index.html.haml
Dmitriy Zaporozhets 2d3b6375f3 hooks scaffold
2012-01-04 02:07:56 +02:00

16 lines
534 B
Text

= render "repositories/head"
.right= link_to "Add new", new_project_hook_path(@project), :class => "grey-button append-bottom-10"
- unless @hooks.empty?
%div.update-data.ui-box.ui-box-small
.data
- @hooks.each do |hook|
%a.update-item{:href => project_hook_path(@project, hook)}
%span.update-title{:style => "margin-bottom:0px;"}
= hook.url
%span.update-author.right
Added
= time_ago_in_words(hook.created_at)
ago
- else
%h3 No hooks