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 github split view tab

Oliver Günther7d9d636487f2
diff --git a/modules/github_integration/lib/open_project/github_integration/engine.rb b/modules/github_integration/lib/open_project/github_integration/engine.rb
index e900ac811df..e325e8e8699 100644
--- a/modules/github_integration/lib/open_project/github_integration/engine.rb
+++ b/modules/github_integration/lib/open_project/github_integration/engine.rb
@@ -81,9 +81,11 @@ module OpenProject::GithubIntegration
if: ->(project) {
User.current.allowed_in_project?(:show_github_content, project)
},
- parent: :admin_github_integration,
- caption: :label_deploy_target_plural,
- icon: "cloud"
+ skip_permissions_check: true,
+ badge: ->(work_package:, **) {
+ work_package.github_pull_requests.count
+ },
+ caption: :project_module_github
end
initializer "github.register_hook" do