-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathinit.rb
More file actions
25 lines (21 loc) · 745 Bytes
/
init.rb
File metadata and controls
25 lines (21 loc) · 745 Bytes
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
require 'redmine'
Redmine::Plugin.register :project_overview do
name 'Project Overview'
author 'Matthew Basset'
description 'Updates the project overview page to make it more useful for teams.'
version '1.2.0'
url 'https://github.com/mbasset/project_overview'
author_url 'http://mbasset.info'
menu :top_menu, :overview, { :controller => 'overview', :action => 'index' }, :before => :projects
settings :default => {
:stale_enable => true,
:stale_num_days => 14,
:exclude_projects => [],
:inactive_team_num_days => 14,
:project_order => "by_name",
:activity_sum_days => 14,
:velocity_warning_margin => 5
}, :partial => 'overview/settings'
end
require 'settings_helper'
SettingsHelper.send :include, ProjectOverviewHelper