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
2e07ee7f
Commit
2e07ee7f
authored
Mar 15, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed failing tests
parent
dce43b4b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
app/helpers/issuables_helper.rb
app/helpers/issuables_helper.rb
+2
-1
No files found.
app/helpers/issuables_helper.rb
View file @
2e07ee7f
...
@@ -23,7 +23,8 @@ module IssuablesHelper
...
@@ -23,7 +23,8 @@ module IssuablesHelper
def
user_dropdown_label
(
user_id
,
default_label
)
def
user_dropdown_label
(
user_id
,
default_label
)
return
"Unassigned"
if
user_id
==
"0"
return
"Unassigned"
if
user_id
==
"0"
user
=
@project
.
team
.
users
.
find_by
(
id:
user_id
)
user
=
@project
.
team
.
users
.
find_by
(
id:
user_id
)
if
@project
user
=
User
.
find_by_id
(
user_id
)
if
!
@project
if
user
if
user
user
.
name
user
.
name
...
...
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