Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

fix ua convert logo when styles is custom

Eugene Safronovb989b345f773
diff --git a/app/views/custom_styles/_inline_css_logo.erb b/app/views/custom_styles/_inline_css_logo.erb
index 9ac46c69ed8..d77df61e4a4 100644
--- a/app/views/custom_styles/_inline_css_logo.erb
+++ b/app/views/custom_styles/_inline_css_logo.erb
@@ -40,6 +40,10 @@ See COPYRIGHT and LICENSE files for more details.
elsif CustomStyle.current.theme_logo.present?
logo_url = asset_path(CustomStyle.current.theme_logo)
end
+
+ if isRu && logo_url == asset_path("logo_openproject.png")
+ logo_url = asset_path("logo-black-bg-ua.png")
+ end
end
%>