summaryrefslogtreecommitdiff
path: root/app/views/groups
diff options
context:
space:
mode:
authorRubén Dávila <rdavila84@gmail.com>2016-02-22 20:39:36 -0500
committerRubén Dávila <rdavila84@gmail.com>2016-03-04 22:37:03 -0500
commit70028d36bee51a9ed86d20fe5d6c895772cc476a (patch)
tree979a8a3e2b505aa25301af3090691f4f081c67bd /app/views/groups
parenta056dfa9a077def4c3ffb958d3f86f7c9d7c2096 (diff)
downloadgitlab-ce-70028d36bee51a9ed86d20fe5d6c895772cc476a.tar.gz
Recator Issues Tab into a custom partial.
Diffstat (limited to 'app/views/groups')
-rw-r--r--app/views/groups/milestones/show.html.haml15
1 files changed, 2 insertions, 13 deletions
diff --git a/app/views/groups/milestones/show.html.haml b/app/views/groups/milestones/show.html.haml
index 405df1d3433..0114e68b19d 100644
--- a/app/views/groups/milestones/show.html.haml
+++ b/app/views/groups/milestones/show.html.haml
@@ -68,20 +68,9 @@
Participants
%span.badge= @milestone.participants.count
-.tab-content
+.tab-content.milestone-content
.tab-pane.active#tab-issues
- .gray-content-block.middle-block
- .pull-right
- = link_to 'Browse Issues', issues_group_path(@group, milestone_title: @milestone.title), class: "btn btn-grouped"
-
- .oneline
- All issues in this milestone
-
- .row.prepend-top-default
- .col-md-6
- = render 'issues', title: "Open", issues: @milestone.opened_issues
- .col-md-6
- = render 'issues', title: "Closed", issues: @milestone.closed_issues
+ = render 'shared/milestones/issues_tab', unassigned: @milestone.opened_issues.unassigned, assigned: @milestone.opened_issues.assigned, closed: @milestone.closed_issues
.tab-pane#tab-merge-requests
.gray-content-block.middle-block