gitlabhq/app/views/hooks/index.html.haml

17 lines
534 B
Plaintext
Raw Normal View History

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