forked from jresinas/redmine_response_time
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinit.rb
23 lines (19 loc) · 799 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
require 'response_time/hooks'
require 'response_time/issue_patch'
require 'response_time/issues_helper_patch'
Redmine::Plugin.register :redmine_response_time do
name 'Redmine Response Time'
author 'jresinas'
description "Measurement of Redmine ticket response time"
version '0.0.1'
author_url 'http://www.emergya.es'
settings :default => { 'trackers' => '[]' },
:partial => 'settings/response_time_settings'
project_module :response_time do
permission :view_response_time, {:issues => [:show]}
permission :view_response_time_report, {:response_time_reports => [:show]}
end
menu :project_menu, :response_time_report, { :controller => 'response_time_reports', :action => 'show' },
:caption => :"rt.label_response_time_reports",
:param => :project_id
end