forked from iRessources/AgileDwarf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.rb
32 lines (27 loc) · 1.25 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
29
30
31
32
require 'redmine'
require 'scrum_enabled_module_patch'
Redmine::Plugin.register :AgileDwarf do
name 'Agile dwarf plugin'
author 'Mark Ablovacky'
description 'Agile for Redmine'
version '0.0.3'
url ''
settings :default => {
:tracker => 1,
:activity => 1,
:stclosed => 1,
:stcolumn1 => 1,
:stcolumn2 => 2,
:stcolumn3 => 3,
:stcolumn4 => 1,
:stcolumn5 => 2,
}, :partial => 'shared/settings'
project_module :scrum do
permission :sprints, {:adsprints => [:list], :adtaskinl => [:update, :inplace, :create, :tooltip], :adsprintinl => [:create, :inplace]}
permission :sprints_tasks, {:adtasks => [:list], :adtaskinl => [:update, :inplace, :tooltip, :spent]}
permission :burndown_charts, {:adburndown => [:show]}
end
menu :project_menu, :adtasks, { :controller => 'adtasks', :action => 'list' }, :caption => :label_menu_mytasks, :after => :activity, :param => :project_id
menu :project_menu, :adsprints, { :controller => 'adsprints', :action => 'list' }, :caption => :label_menu_sprints, :after => :adtasks, :param => :project_id
menu :project_menu, :adburndown, { :controller => 'adburndown', :action => 'show' }, :caption => :label_menu_burndown, :after => :adsprints, :param => :project_id
end