debian-mirror-gitlab/app/views/shared/milestones/_merge_requests_tab.haml

13 lines
927 B
Text
Raw Normal View History

2016-06-02 11:05:42 +05:30
- args = { show_project_name: local_assigns.fetch(:show_project_name, false),
show_full_project_name: local_assigns.fetch(:show_full_project_name, false) }
.row.prepend-top-default
.col-md-3
2020-05-24 23:13:21 +05:30
= render 'shared/milestones/issuables', args.merge(title: _('Work in progress (open and unassigned)'), issuables: merge_requests.opened.unassigned, id: 'unassigned', show_counter: true)
2016-06-02 11:05:42 +05:30
.col-md-3
2020-05-24 23:13:21 +05:30
= render 'shared/milestones/issuables', args.merge(title: _('Waiting for merge (open and assigned)'), issuables: merge_requests.opened.assigned, id: 'ongoing', show_counter: true)
2016-06-02 11:05:42 +05:30
.col-md-3
2020-05-24 23:13:21 +05:30
= render 'shared/milestones/issuables', args.merge(title: _('Rejected (closed)'), issuables: merge_requests.closed, id: 'closed', show_counter: true)
2016-06-02 11:05:42 +05:30
.col-md-3
2020-05-24 23:13:21 +05:30
= render 'shared/milestones/issuables', args.merge(title: _('Merged'), issuables: merge_requests.merged, id: 'merged', primary: true, show_counter: true)