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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
58d603bd
Commit
58d603bd
authored
Oct 22, 2021
by
Siddharth Asthana
Committed by
Peter Leitzen
Oct 26, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing the deprecation warning as using `.` in template has deprecated
Changelog: other
parent
8844e274
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app/helpers/appearances_helper.rb
app/helpers/appearances_helper.rb
+2
-2
No files found.
app/helpers/appearances_helper.rb
View file @
58d603bd
...
@@ -39,14 +39,14 @@ module AppearancesHelper
...
@@ -39,14 +39,14 @@ module AppearancesHelper
if
current_appearance
&
.
header_logo?
if
current_appearance
&
.
header_logo?
image_tag
current_appearance
.
header_logo_path
,
class:
'brand-header-logo'
image_tag
current_appearance
.
header_logo_path
,
class:
'brand-header-logo'
else
else
render
'shared/logo.svg'
render
partial:
'shared/logo'
,
formats: :svg
end
end
end
end
# Skip the 'GitLab' type logo when custom brand logo is set
# Skip the 'GitLab' type logo when custom brand logo is set
def
brand_header_logo_type
def
brand_header_logo_type
unless
current_appearance
&
.
header_logo?
unless
current_appearance
&
.
header_logo?
render
'shared/logo_type.svg'
render
partial:
'shared/logo_type'
,
formats: :svg
end
end
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