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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
[#48421] Dedicated logo for the pdf export of work plans
as-op89577f62a7a5
diff --git a/app/models/work_package/pdf_export/page.rb b/app/models/work_package/pdf_export/page.rbindex 9d0909463c3..0e23d4482a2 100644--- a/app/models/work_package/pdf_export/page.rb+++ b/app/models/work_package/pdf_export/page.rb@@ -70,9 +70,9 @@ module WorkPackage::PDFExport::Pagedef custom_logo_imagereturn unless CustomStyle.current.present? &&- CustomStyle.current.logo.present? && CustomStyle.current.logo.local_file.present?+ CustomStyle.current.export_logo.present? && CustomStyle.current.export_logo.local_file.present?- image_file = CustomStyle.current.logo.local_file.path+ image_file = CustomStyle.current.export_logo.local_file.pathcontent_type = OpenProject::ContentTypeDetector.new(image_file).detectreturn unless pdf_embeddable?(content_type)