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
7a8f0019
Commit
7a8f0019
authored
Feb 06, 2014
by
skv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace badge to labels, because twbs3 doesn't supprot colored badges
parent
f7b46fa5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/views/projects/milestones/_issues.html.haml
app/views/projects/milestones/_issues.html.haml
+1
-1
app/views/projects/milestones/_merge_request.html.haml
app/views/projects/milestones/_merge_request.html.haml
+1
-1
No files found.
app/views/projects/milestones/_issues.html.haml
View file @
7a8f0019
...
...
@@ -4,7 +4,7 @@
-
issues
.
each
do
|
issue
|
%li
=
link_to
[
@project
,
issue
]
do
%span
.
badge
{
class:
issue
.
closed?
?
'badge-important'
:
'badge
-info'
}
##{issue.iid}
%span
.
label
{
class:
issue
.
closed?
?
'label-danger'
:
'label
-info'
}
##{issue.iid}
=
link_to_gfm
truncate
(
issue
.
title
,
length:
40
),
[
@project
,
issue
]
-
if
issue
.
assignee
.pull-right
...
...
app/views/projects/milestones/_merge_request.html.haml
View file @
7a8f0019
%li
=
link_to
[
@project
,
merge_request
]
do
%span
.
badge.badge
-info
##{merge_request.iid}
%span
.
label.label
-info
##{merge_request.iid}
–
=
link_to_gfm
truncate
(
merge_request
.
title
,
length:
60
),
[
@project
,
merge_request
]
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