-
Notifications
You must be signed in to change notification settings - Fork 57
/
init.rb
28 lines (25 loc) · 1.12 KB
/
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
25
26
27
28
unless File.basename(File.dirname(__FILE__)) == 'progressive_projects_list'
raise "Progressive Project List plugin directory should be 'progressive_projects_list' instead of '#{File.basename(File.dirname(__FILE__))}'"
end
Redmine::Plugin.register :progressive_projects_list do
name 'Progressive Projects List plugin'
author 'Dmitry Babenko'
description 'Projects List with menus and progress bars.'
version '4.0.0'
url 'https://ergoserv.github.io/redmine-progressive-projects-list/'
author_url 'https://github.com/ergoserv'
requires_redmine version_or_higher: '3.3'
settings default: {
'show_project_description' => false,
'show_project_progress' => true,
'show_project_menu' => false,
'show_only_for_my_projects' => false,
'show_recent_projects' => true,
'show_project_progress_overview' => ''
}, partial: 'settings/progressive_projects_list'
end
require 'progressive_projects_list'
require 'progressive/application_helper_patch'
require 'progressive/projects_helper_patch'
require 'progressive/projects_list_view_listener'
require 'progressive/recent_projects_view_listener'