Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
46b5f83a
Commit
46b5f83a
authored
Jan 27, 2016
by
Rubén Dávila
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show labels in Issues tab.
parent
e6be134b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
1 deletion
+15
-1
app/assets/stylesheets/pages/milestone.scss
app/assets/stylesheets/pages/milestone.scss
+12
-0
app/views/projects/milestones/_issue.html.haml
app/views/projects/milestones/_issue.html.haml
+3
-1
No files found.
app/assets/stylesheets/pages/milestone.scss
View file @
46b5f83a
...
@@ -15,3 +15,15 @@ li.milestone {
...
@@ -15,3 +15,15 @@ li.milestone {
.time-elapsed
{
.time-elapsed
{
color
:
#F14539
;
color
:
#F14539
;
}
}
.issue-row
.assignee-icon
{
.color-label
{
float
:
left
;
padding
:
8px
;
margin-left
:
10px
;
}
img
{
margin-left
:
8px
;
}
}
app/views/projects/milestones/_issue.html.haml
View file @
46b5f83a
%li
{
id:
dom_id
(
issue
,
'sortable'
),
class:
'issue-row'
,
'data-iid'
=>
issue
.
iid
,
'data-url'
=>
issue_path
(
issue
)
}
%li
{
id:
dom_id
(
issue
,
'sortable'
),
class:
'issue-row'
,
'data-iid'
=>
issue
.
iid
,
'data-url'
=>
issue_path
(
issue
)
}
.pull-right.assignee-icon
.pull-right.assignee-icon
-
issue
.
labels
.
each
do
|
label
|
=
render_colored_label
(
label
)
-
if
issue
.
assignee
-
if
issue
.
assignee
=
image_tag
avatar_icon
(
issue
.
assignee
,
16
),
class:
"avatar s
16
"
,
alt:
''
=
image_tag
avatar_icon
(
issue
.
assignee
,
16
),
class:
"avatar s
24
"
,
alt:
''
%span
%span
=
link_to
[
@project
.
namespace
.
becomes
(
Namespace
),
@project
,
issue
]
do
=
link_to
[
@project
.
namespace
.
becomes
(
Namespace
),
@project
,
issue
]
do
%span
.cgray
##{issue.iid}
%span
.cgray
##{issue.iid}
...
...
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