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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
fbe64329
Commit
fbe64329
authored
Dec 02, 2015
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move labels to second line of issue/MR list item
parent
08ee38a1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
8 deletions
+12
-8
app/views/projects/issues/_issue.html.haml
app/views/projects/issues/_issue.html.haml
+5
-3
app/views/projects/merge_requests/_merge_request.html.haml
app/views/projects/merge_requests/_merge_request.html.haml
+7
-5
No files found.
app/views/projects/issues/_issue.html.haml
View file @
fbe64329
...
...
@@ -6,9 +6,6 @@
.issue-title
%span
.issue-title-text
=
link_to_gfm
issue
.
title
,
issue_path
(
issue
),
class:
"row_title"
.issue-labels
-
issue
.
labels
.
each
do
|
label
|
=
link_to_label
(
label
,
project:
issue
.
project
)
.pull-right.light
-
if
issue
.
closed?
%span
...
...
@@ -36,7 +33,12 @@
=
link_to
namespace_project_issues_path
(
issue
.
project
.
namespace
,
issue
.
project
,
milestone_title:
issue
.
milestone
.
title
)
do
=
icon
(
'clock-o'
)
=
issue
.
milestone
.
title
-
if
issue
.
labels
.
any?
-
issue
.
labels
.
each
do
|
label
|
=
link_to_label
(
label
,
project:
issue
.
project
)
-
if
issue
.
tasks?
%span
.task-status
=
issue
.
task_status
...
...
app/views/projects/merge_requests/_merge_request.html.haml
View file @
fbe64329
...
...
@@ -3,19 +3,16 @@
.merge-request-title
%span
.merge-request-title-text
=
link_to_gfm
merge_request
.
title
,
merge_request_path
(
merge_request
),
class:
"row_title"
.merge-request-labels
-
merge_request
.
labels
.
each
do
|
label
|
=
link_to_label
(
label
,
project:
merge_request
.
project
)
.pull-right.light
-
if
ci_commit
=
render_ci_status
(
ci_commit
)
-
if
merge_request
.
merged?
%span
%i
.fa.fa-check
=
icon
(
'check'
)
MERGED
-
elsif
merge_request
.
closed?
%span
%i
.fa.fa-ban
=
icon
(
'ban'
)
CLOSED
-
note_count
=
merge_request
.
mr_and_commit_notes
.
user
.
count
-
if
merge_request
.
assignee
...
...
@@ -41,12 +38,17 @@
=
link_to
namespace_project_merge_requests_path
(
merge_request
.
project
.
namespace
,
merge_request
.
project
,
milestone_title:
merge_request
.
milestone
.
title
)
do
=
icon
(
'clock-o'
)
=
merge_request
.
milestone
.
title
-
if
merge_request
.
labels
.
any?
-
merge_request
.
labels
.
each
do
|
label
|
=
link_to_label
(
label
,
project:
merge_request
.
project
)
-
if
merge_request
.
target_project
.
default_branch
!=
merge_request
.
target_branch
%span
%i
.fa.fa-code-fork
=
merge_request
.
target_branch
-
if
merge_request
.
tasks?
%span
.task-status
=
merge_request
.
task_status
...
...
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