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
Update links in help menu and homescreen
Oliver Günther3a8a29cf407d
diff --git a/app/views/homescreen/blocks/_community.html.erb b/app/views/homescreen/blocks/_community.html.erbindex 93ef33c47bf..fa2974ce694 100644--- a/app/views/homescreen/blocks/_community.html.erb+++ b/app/views/homescreen/blocks/_community.html.erb@@ -21,6 +21,14 @@title: t("label_openproject_website"), rel: "noopener" }) %></li>+ <li>+ <%= link_to(+ t("homescreen.links.security_alerts"), "#{OpenProject::Static::Links.links[:security_alerts][:href]}/?utm_source=unknown&utm_medium=op-instance&utm_campaign=security-alerts-home-screen",+ { aria: { label: t("homescreen.links.security_alerts") },+ target: "_blank",+ title: t("homescreen.links.security_alerts"), rel: "noopener" }+ ) %>+ </li><li><%= link_to(t("homescreen.links.newsletter"), "#{OpenProject::Static::Links.links[:newsletter][:href]}/?utm_source=unknown&utm_medium=op-instance&utm_campaign=newsletter-home-screen",diff --git a/config/locales/en.yml b/config/locales/en.ymlindex d272bfb6034..11338ca52e0 100644--- a/config/locales/en.yml+++ b/config/locales/en.yml@@ -2678,7 +2678,8 @@ en:shortcuts: "Shortcuts"blog: "OpenProject blog"forums: "Community forum"- newsletter: "Security alerts / Newsletter"+ security_alerts: "Security alerts"+ newsletter: "Newsletter"image_conversion:imagemagick: "Imagemagick"diff --git a/config/static_links.yml b/config/static_links.ymlindex a6ee918f8a7..1b43258b354 100644--- a/config/static_links.yml+++ b/config/static_links.yml@@ -96,6 +96,9 @@ manual_installation:newsletter:href: https://www.openproject.org/newsletterlabel: homescreen.links.newsletter+security_alerts:+ href: https://www.openproject.org/security-and-privacy/#mailing-list+ label: homescreen.links.security_alertsoauth_authorization_code_flow:href: https://oauth.net/2/grant-types/authorization-code/label: oauth.flows.authorization_code@@ -127,7 +130,7 @@ report_bug:href: https://www.openproject.org/docs/development/report-a-bug/label: :label_report_bugroadmap:- href: https://community.openproject.org/projects/openproject/roadmap+ href: https://www.openproject.org/roadmap/label: :label_development_roadmapsecurity_badge_documentation:href: https://www.openproject.org/docs/system-admin-guide/information/#security-badgediff --git a/lib/redmine/menu_manager/top_menu/help_menu.rb b/lib/redmine/menu_manager/top_menu/help_menu.rbindex 49a2cf08c94..e1bb6557a01 100644--- a/lib/redmine/menu_manager/top_menu/help_menu.rb+++ b/lib/redmine/menu_manager/top_menu/help_menu.rb@@ -133,6 +133,10 @@ module Redmine::MenuManager::TopMenu::HelpMenu:website,href_suffix: "/?utm_source=unknown&utm_medium=op-instance&utm_campaign=website-help-menu"))+ menu_group.with_item(**link_options_for(+ :security_alerts,+ href_suffix: "/?utm_source=unknown&utm_medium=op-instance&utm_campaign=security-help-menu"+ ))menu_group.with_item(**link_options_for(:newsletter,href_suffix: "/?utm_source=unknown&utm_medium=op-instance&utm_campaign=newsletter-help-menu"