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
Léo-Paul Géneau
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 @@
...
@@ -6,9 +6,6 @@
.issue-title
.issue-title
%span
.issue-title-text
%span
.issue-title-text
=
link_to_gfm
issue
.
title
,
issue_path
(
issue
),
class:
"row_title"
=
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
.pull-right.light
-
if
issue
.
closed?
-
if
issue
.
closed?
%span
%span
...
@@ -36,7 +33,12 @@
...
@@ -36,7 +33,12 @@
=
link_to
namespace_project_issues_path
(
issue
.
project
.
namespace
,
issue
.
project
,
milestone_title:
issue
.
milestone
.
title
)
do
=
link_to
namespace_project_issues_path
(
issue
.
project
.
namespace
,
issue
.
project
,
milestone_title:
issue
.
milestone
.
title
)
do
=
icon
(
'clock-o'
)
=
icon
(
'clock-o'
)
=
issue
.
milestone
.
title
=
issue
.
milestone
.
title
-
if
issue
.
labels
.
any?
-
issue
.
labels
.
each
do
|
label
|
=
link_to_label
(
label
,
project:
issue
.
project
)
-
if
issue
.
tasks?
-
if
issue
.
tasks?
%span
.task-status
%span
.task-status
=
issue
.
task_status
=
issue
.
task_status
...
...
app/views/projects/merge_requests/_merge_request.html.haml
View file @
fbe64329
...
@@ -3,19 +3,16 @@
...
@@ -3,19 +3,16 @@
.merge-request-title
.merge-request-title
%span
.merge-request-title-text
%span
.merge-request-title-text
=
link_to_gfm
merge_request
.
title
,
merge_request_path
(
merge_request
),
class:
"row_title"
=
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
.pull-right.light
-
if
ci_commit
-
if
ci_commit
=
render_ci_status
(
ci_commit
)
=
render_ci_status
(
ci_commit
)
-
if
merge_request
.
merged?
-
if
merge_request
.
merged?
%span
%span
%i
.fa.fa-check
=
icon
(
'check'
)
MERGED
MERGED
-
elsif
merge_request
.
closed?
-
elsif
merge_request
.
closed?
%span
%span
%i
.fa.fa-ban
=
icon
(
'ban'
)
CLOSED
CLOSED
-
note_count
=
merge_request
.
mr_and_commit_notes
.
user
.
count
-
note_count
=
merge_request
.
mr_and_commit_notes
.
user
.
count
-
if
merge_request
.
assignee
-
if
merge_request
.
assignee
...
@@ -41,12 +38,17 @@
...
@@ -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
=
link_to
namespace_project_merge_requests_path
(
merge_request
.
project
.
namespace
,
merge_request
.
project
,
milestone_title:
merge_request
.
milestone
.
title
)
do
=
icon
(
'clock-o'
)
=
icon
(
'clock-o'
)
=
merge_request
.
milestone
.
title
=
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
-
if
merge_request
.
target_project
.
default_branch
!=
merge_request
.
target_branch
%span
%span
%i
.fa.fa-code-fork
%i
.fa.fa-code-fork
=
merge_request
.
target_branch
=
merge_request
.
target_branch
-
if
merge_request
.
tasks?
-
if
merge_request
.
tasks?
%span
.task-status
%span
.task-status
=
merge_request
.
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