Añade plugin Redmine Git Hosting 4.0.2

This commit is contained in:
Manuel Cillero 2020-12-05 13:57:05 +01:00
parent 472cb1ea76
commit bdd66d941f
494 changed files with 36768 additions and 0 deletions

View file

@ -0,0 +1,10 @@
Redmine::MenuManager.map :admin_menu do |menu|
menu.push :redmine_git_hosting, { controller: 'settings', action: 'plugin', id: 'redmine_git_hosting' },
caption: :redmine_git_hosting, html: { class: 'icon' }
end
Redmine::MenuManager.map :top_menu do |menu|
menu.push :archived_repositories, { controller: '/archived_repositories', action: 'index' },
caption: :label_archived_repositories, after: :administration,
if: Proc.new { User.current.logged? && User.current.admin? }
end