forked from fernandokosh/redmine_time_tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.rb
More file actions
18 lines (12 loc) · 602 Bytes
/
init.rb
File metadata and controls
18 lines (12 loc) · 602 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require 'redmine'
require_dependency 'time_tracker_hooks'
Redmine::Plugin.register :chiliproject_time_tracker do
name 'ChiliProject Time Tracker plugin'
author 'Jérémie Delaitre, magic labs*'
description 'This is a plugin to track time in ChiliProject'
version '0.5'
requires_redmine :version_or_higher => '3.1.0'
settings :default => { 'refresh_rate' => '60', 'status_transitions' => {} }, :partial => 'settings/time_tracker'
permission :view_others_time_trackers, :time_trackers => :index
permission :delete_others_time_trackers, :time_trackers => :delete
end