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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
279952bb
Commit
279952bb
authored
Dec 03, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show issue/mr id in the list below title
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
6c68db60
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/views/projects/issues/_issue.html.haml
app/views/projects/issues/_issue.html.haml
+1
-1
app/views/projects/merge_requests/_merge_request.html.haml
app/views/projects/merge_requests/_merge_request.html.haml
+1
-1
No files found.
app/views/projects/issues/_issue.html.haml
View file @
279952bb
...
@@ -4,7 +4,6 @@
...
@@ -4,7 +4,6 @@
=
check_box_tag
dom_id
(
issue
,
"selected"
),
nil
,
false
,
'data-id'
=>
issue
.
id
,
class:
"selected_issue"
,
disabled:
!
can?
(
current_user
,
:modify_issue
,
issue
)
=
check_box_tag
dom_id
(
issue
,
"selected"
),
nil
,
false
,
'data-id'
=>
issue
.
id
,
class:
"selected_issue"
,
disabled:
!
can?
(
current_user
,
:modify_issue
,
issue
)
.issue-title
.issue-title
%span
.light
=
"#
#{
issue
.
iid
}
"
%span
.str-truncated
%span
.str-truncated
=
link_to_gfm
issue
.
title
,
project_issue_path
(
issue
.
project
,
issue
),
class:
"row_title"
=
link_to_gfm
issue
.
title
,
project_issue_path
(
issue
.
project
,
issue
),
class:
"row_title"
-
if
issue
.
closed?
-
if
issue
.
closed?
...
@@ -12,6 +11,7 @@
...
@@ -12,6 +11,7 @@
CLOSED
CLOSED
.issue-info
.issue-info
%span
.light
=
"#
#{
issue
.
iid
}
"
-
if
issue
.
assignee
-
if
issue
.
assignee
assigned to
#{
link_to_member
(
@project
,
issue
.
assignee
)
}
assigned to
#{
link_to_member
(
@project
,
issue
.
assignee
)
}
-
if
issue
.
votes_count
>
0
-
if
issue
.
votes_count
>
0
...
...
app/views/projects/merge_requests/_merge_request.html.haml
View file @
279952bb
%li
{
class:
mr_css_classes
(
merge_request
)
}
%li
{
class:
mr_css_classes
(
merge_request
)
}
.merge-request-title
.merge-request-title
%span
.light
=
"#
#{
merge_request
.
iid
}
"
=
link_to_gfm
truncate
(
merge_request
.
title
,
length:
80
),
project_merge_request_path
(
merge_request
.
target_project
,
merge_request
),
class:
"row_title"
=
link_to_gfm
truncate
(
merge_request
.
title
,
length:
80
),
project_merge_request_path
(
merge_request
.
target_project
,
merge_request
),
class:
"row_title"
-
if
merge_request
.
merged?
-
if
merge_request
.
merged?
%small
.pull-right
%small
.pull-right
...
@@ -15,6 +14,7 @@
...
@@ -15,6 +14,7 @@
%i
.fa.fa-angle-right.light
%i
.fa.fa-angle-right.light
=
merge_request
.
target_branch
=
merge_request
.
target_branch
.merge-request-info
.merge-request-info
%span
.light
=
"#
#{
merge_request
.
iid
}
"
-
if
merge_request
.
author
-
if
merge_request
.
author
authored by
#{
link_to_member
(
merge_request
.
source_project
,
merge_request
.
author
)
}
authored by
#{
link_to_member
(
merge_request
.
source_project
,
merge_request
.
author
)
}
-
if
merge_request
.
votes_count
>
0
-
if
merge_request
.
votes_count
>
0
...
...
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