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
f8b5ff95
Commit
f8b5ff95
authored
Mar 24, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed rubocop issues
parent
f3b162a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
app/helpers/issuables_helper.rb
app/helpers/issuables_helper.rb
+6
-5
No files found.
app/helpers/issuables_helper.rb
View file @
f8b5ff95
...
@@ -48,11 +48,12 @@ module IssuablesHelper
...
@@ -48,11 +48,12 @@ module IssuablesHelper
end
end
def
milestone_dropdown_label
(
milestone_title
,
default_label
)
def
milestone_dropdown_label
(
milestone_title
,
default_label
)
milestone_title
=
if
milestone_title
==
Milestone
::
Upcoming
.
name
milestone_title
=
Milestone
::
Upcoming
.
title
if
milestone_title
==
Milestone
::
Upcoming
.
name
else
Milestone
::
Upcoming
.
title
milestone_title
else
end
milestone_title
end
if
!
milestone_title
.
nil?
&&
!
milestone_title
.
empty?
if
!
milestone_title
.
nil?
&&
!
milestone_title
.
empty?
h
(
milestone_title
)
h
(
milestone_title
)
...
...
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