-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.rb
25 lines (20 loc) · 915 Bytes
/
init.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
require_relative 'lib/arvados_hook_listener'
require_relative 'lib/application_helper_patch'
Redmine::Plugin.register :redmine_arvados do
name 'Redmine Arvados plugin'
author 'Ward Vandewege'
description 'A plugin for the arvados.org site customizations'
version '0.0.1'
url 'https://github.com/arvados/redmine_arvados'
author_url 'https://arvados.org'
delete_menu_item :project_menu, :overview
# Attempt to add link to doc site in project menu.
# This does not work, cf. http://www.redmine.org/issues/11682.
# Ward, 2013-04-15
#permission :arvados, { :arvados => [:index] }, :public => true
menu :project_menu, :documentation, 'https://doc.arvados.org',
:after => :repository, :caption => 'Documentation'
# As a workaround, add link to doc site in top menu. Ward, 2013-04-15
menu :top_menu, :documentation, 'https://doc.arvados.org/',
:caption => 'Documentation'
end