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
Boxiang Sun
gitlab-ce
Commits
8f4ce0d6
Commit
8f4ce0d6
authored
Sep 05, 2017
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed images changing height of breadcrumbs
parent
40281282
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/helpers/groups_helper.rb
app/helpers/groups_helper.rb
+1
-1
app/helpers/projects_helper.rb
app/helpers/projects_helper.rb
+1
-1
No files found.
app/helpers/groups_helper.rb
View file @
8f4ce0d6
...
@@ -87,7 +87,7 @@ module GroupsHelper
...
@@ -87,7 +87,7 @@ module GroupsHelper
link_to
(
group_path
(
group
),
class:
"group-path
#{
'hidable'
if
hidable
}
"
)
do
link_to
(
group_path
(
group
),
class:
"group-path
#{
'hidable'
if
hidable
}
"
)
do
output
=
output
=
if
(
show_new_nav?
&&
group
.
try
(
:avatar_url
)
||
(
show_new_nav?
&&
show_avatar
))
&&
!
Rails
.
env
.
test?
if
(
show_new_nav?
&&
group
.
try
(
:avatar_url
)
||
(
show_new_nav?
&&
show_avatar
))
&&
!
Rails
.
env
.
test?
image_tag
(
group_icon
(
group
),
class:
"avatar-tile"
,
width:
1
6
,
height:
16
)
image_tag
(
group_icon
(
group
),
class:
"avatar-tile"
,
width:
1
5
,
height:
15
)
else
else
""
""
end
end
...
...
app/helpers/projects_helper.rb
View file @
8f4ce0d6
...
@@ -63,7 +63,7 @@ module ProjectsHelper
...
@@ -63,7 +63,7 @@ module ProjectsHelper
project_link
=
link_to
project_path
(
project
),
{
class:
(
"project-item-select-holder"
unless
show_new_nav?
)
}
do
project_link
=
link_to
project_path
(
project
),
{
class:
(
"project-item-select-holder"
unless
show_new_nav?
)
}
do
output
=
output
=
if
show_new_nav?
&&
project
.
avatar_url
&&
!
Rails
.
env
.
test?
if
show_new_nav?
&&
project
.
avatar_url
&&
!
Rails
.
env
.
test?
project_icon
(
project
,
alt:
project
.
name
,
class:
'avatar-tile'
,
width:
1
6
,
height:
16
)
project_icon
(
project
,
alt:
project
.
name
,
class:
'avatar-tile'
,
width:
1
5
,
height:
15
)
else
else
""
""
end
end
...
...
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