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
fix bug and comment in attribute formatter project.public
as-op0f1e67be14fa
diff --git a/app/models/projects/exports/formatters/public.rb b/app/models/projects/exports/formatters/public.rbindex 40a6e85d1f0..deb4deb0301 100644--- a/app/models/projects/exports/formatters/public.rb+++ b/app/models/projects/exports/formatters/public.rb@@ -33,9 +33,9 @@ module Projects::Exportsend##- # Takes a project and returns the localized status code+ # Takes a project and returns yes/no depending on the public attributedef format(project, **)- project.active ? I18n.t(:general_text_Yes) : I18n.t(:general_text_No)+ project.public? ? I18n.t(:general_text_Yes) : I18n.t(:general_text_No)endendend