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
Render new features block only when I18n present
Oliver Günther91c26ec18189
diff --git a/app/components/homescreen/blocks/new_features.rb b/app/components/homescreen/blocks/new_features.rbindex 90e173c7733..1644e6a4a9a 100644--- a/app/components/homescreen/blocks/new_features.rb+++ b/app/components/homescreen/blocks/new_features.rb@@ -55,6 +55,10 @@ module HomescreenI18n.t("homescreen.blocks.new_features.#{feature_version}.new_features_list")end+ def render?+ I18n.exists?("homescreen.blocks.new_features.#{feature_version}")+ end+privatedef feature_version