BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
834b5d49
Commit
834b5d49
authored
Feb 23, 2016
by
Rubén Dávila
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor Merge Requests tab into a custom partial
parent
e805becf
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
21 deletions
+10
-21
show.html.haml
app/views/groups/milestones/show.html.haml
+1
-12
show.html.haml
app/views/projects/milestones/show.html.haml
+1
-9
_participants_tab.html.haml
app/views/shared/milestones/_participants_tab.html.haml
+8
-0
No files found.
app/views/groups/milestones/show.html.haml
View file @
834b5d49
...
...
@@ -76,15 +76,4 @@
=
render
'shared/milestones/merge_requests_tab'
,
unassigned:
@milestone
.
opened_merge_requests
.
unassigned
,
assigned:
@milestone
.
opened_merge_requests
.
assigned
,
closed:
@milestone
.
merge_requests
.
closed
,
merged:
@milestone
.
merge_requests
.
merged
.tab-pane
#tab-participants
.gray-content-block.middle-block
.oneline
All participants to this milestone
%ul
.bordered-list
-
@milestone
.
participants
.
each
do
|
user
|
%li
=
link_to
user
,
title:
user
.
name
,
class:
"darken"
do
=
image_tag
avatar_icon
(
user
,
32
),
class:
"avatar s32"
%strong
=
truncate
(
user
.
name
,
lenght:
40
)
%br
%small
.cgray
=
user
.
username
=
render
'shared/milestones/participants_tab'
,
users:
@milestone
.
participants
app/views/projects/milestones/show.html.haml
View file @
834b5d49
...
...
@@ -98,15 +98,7 @@
.tab-pane
#tab-merge-requests
=
render
'shared/milestones/merge_requests_tab'
,
unassigned:
@merge_requests
.
opened
.
unassigned
,
assigned:
@merge_requests
.
opened
.
assigned
,
closed:
@merge_requests
.
closed
,
merged:
@merge_requests
.
merged
.tab-pane
#tab-participants
%ul
.bordered-list
-
@users
.
each
do
|
user
|
%li
=
link_to
user
,
title:
user
.
name
,
class:
"darken"
do
=
image_tag
avatar_icon
(
user
,
32
),
class:
"avatar s32"
%strong
=
truncate
(
user
.
name
,
lenght:
40
)
%br
%small
.cgray
=
user
.
username
=
render
'shared/milestones/participants_tab'
,
users:
@users
.tab-pane
#tab-labels
%ul
.bordered-list.manage-labels-list
-
@labels
.
each
do
|
label
|
...
...
app/views/shared/milestones/_participants_tab.html.haml
0 → 100644
View file @
834b5d49
%ul
.bordered-list
-
users
.
each
do
|
user
|
%li
=
link_to
user
,
title:
user
.
name
,
class:
"darken"
do
=
image_tag
avatar_icon
(
user
,
32
),
class:
"avatar s32"
%strong
=
truncate
(
user
.
name
,
lenght:
40
)
%br
%small
.cgray
=
user
.
username
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment