b80dd3d242
Merge branch 'master' into non-interactive-aws-install Conflicts: doc/installation.md Fix merge mess in installation.md
38 lines
1.2 KiB
Plaintext
38 lines
1.2 KiB
Plaintext
%h3.page_title
|
|
Merge Requests
|
|
- if can? current_user, :write_issue, @project
|
|
= link_to new_project_merge_request_path(@project), class: "right btn", title: "New Merge Request" do
|
|
New Merge Request
|
|
|
|
%br
|
|
|
|
|
|
.ui-box
|
|
.title
|
|
%ul.nav.nav-pills
|
|
%li{class: ("active" if (params[:f] == 'open' || !params[:f]))}
|
|
= link_to project_merge_requests_path(@project, f: 'open') do
|
|
Open
|
|
%li{class: ("active" if params[:f] == "closed")}
|
|
= link_to project_merge_requests_path(@project, f: "closed") do
|
|
Closed
|
|
%li{class: ("active" if params[:f] == 'assigned-to-me')}
|
|
= link_to project_merge_requests_path(@project, f: 'assigned-to-me') do
|
|
To Me
|
|
%li{class: ("active" if params[:f] == 'all')}
|
|
= link_to project_merge_requests_path(@project, f: 'all') do
|
|
All
|
|
|
|
%ul.unstyled
|
|
= render @merge_requests
|
|
- if @merge_requests.blank?
|
|
%li
|
|
%h4.nothing_here_message Nothing to show here
|
|
- if @merge_requests.present?
|
|
%li.bottom
|
|
.row
|
|
.span7= paginate @merge_requests, theme: "gitlab"
|
|
.span4.right
|
|
%span.cgray.right #{@merge_requests.total_count} merge requests for this filter
|
|
|