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

21 lines
505 B
Plaintext
Raw Normal View History

2011-11-28 19:30:35 +01:00
- if @merge_requests.opened.count > 0
%div{ :class => "update-data ui-box ui-box-small ui-box-big" }
%h3
%span.tag.open Open
.data
= render @merge_requests.opened
2011-11-28 08:39:43 +01:00
2011-11-28 19:30:35 +01:00
.clear
%br
2011-11-28 08:39:43 +01:00
2011-11-28 19:30:35 +01:00
- if @merge_requests.closed.count > 0
%div{ :class => "update-data ui-box ui-box-small ui-box-big" }
%h3
%span.tag.closed Closed
.data
= render @merge_requests.closed
.clear
%br
2011-11-28 08:39:43 +01:00
2011-11-28 19:30:35 +01:00
= link_to 'New Merge request', new_project_merge_request_path(@project), :class => "grey-button"