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
Kazuhiko Shiozaki
gitlab-ce
Commits
4dff27ec
Commit
4dff27ec
authored
Jan 27, 2016
by
Rubén Dávila
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjust Issues tab to new design.
parent
2ac744e9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
8 deletions
+28
-8
app/assets/stylesheets/pages/milestone.scss
app/assets/stylesheets/pages/milestone.scss
+20
-0
app/views/projects/milestones/_issue.html.haml
app/views/projects/milestones/_issue.html.haml
+5
-6
app/views/projects/milestones/_issues.html.haml
app/views/projects/milestones/_issues.html.haml
+3
-2
No files found.
app/assets/stylesheets/pages/milestone.scss
View file @
4dff27ec
...
...
@@ -42,3 +42,23 @@ li.milestone {
float
:
right
;
width
:
105px
;
}
.issues-sortable-list
{
.issue-detail
{
display
:
block
;
.issue-number
{
color
:
#D1D1D1
;
margin-right
:
5px
;
}
.color-label
{
padding
:
8px
;
margin-right
:
7px
;
margin-top
:
10px
;
}
.avatar
{
float
:
none
;
}
}
}
app/views/projects/milestones/_issue.html.haml
View file @
4dff27ec
%li
{
id:
dom_id
(
issue
,
'sortable'
),
class:
'issue-row'
,
'data-iid'
=>
issue
.
iid
,
'data-url'
=>
issue_path
(
issue
)
}
.pull-right.assignee-icon
%span
=
link_to_gfm
issue
.
title
,
[
@project
.
namespace
.
becomes
(
Namespace
),
@project
,
issue
],
title:
issue
.
title
.issue-detail
=
link_to
[
@project
.
namespace
.
becomes
(
Namespace
),
@project
,
issue
]
do
%span
.issue-number
##{issue.iid}
-
issue
.
labels
.
each
do
|
label
|
=
render_colored_label
(
label
)
-
if
issue
.
assignee
=
image_tag
avatar_icon
(
issue
.
assignee
,
16
),
class:
"avatar s24"
,
alt:
''
%span
=
link_to
[
@project
.
namespace
.
becomes
(
Namespace
),
@project
,
issue
]
do
%span
.cgray
##{issue.iid}
=
link_to_gfm
issue
.
title
,
[
@project
.
namespace
.
becomes
(
Namespace
),
@project
,
issue
],
title:
issue
.
title
app/views/projects/milestones/_issues.html.haml
View file @
4dff27ec
.panel.panel-default
.panel-heading
=
title
.panel-heading
%strong
=
title
%strong
.pull-right
=
issues
.
size
%ul
{
class:
"well-list issues-sortable-list"
,
id:
"issues-list-#{id}"
,
"data-state"
=>
id
}
-
issues
.
sort_by
(
&
:position
).
each
do
|
issue
|
=
render
'issue'
,
issue:
issue
%li
.light.ui-sort-disabled
Drag and drop available
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