Añade plugin Redmine Git Hosting 4.0.2
This commit is contained in:
parent
472cb1ea76
commit
bdd66d941f
494 changed files with 36768 additions and 0 deletions
10
plugins/redmine_git_hosting/lib/redmine_menus.rb
Normal file
10
plugins/redmine_git_hosting/lib/redmine_menus.rb
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue