forked from alexmonteiro/Redmine-Monitoring-Controlling
-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.rb
25 lines (19 loc) · 1.29 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
# encoding: UTF-8
require 'redmine'
Redmine::Plugin.register :redmine_monitoring_controlling do
name 'Redmine (Monitoring & Controlling | Monitoramento & Controle)'
author 'Alexander Monteiro'
description "Este plugin foi criado para auxiliar no Monitoramento e Controle dos projetos no redmine através de uma visualização gráfica das tarefas e sua execução.\n
This plugin is a graphic tool to Monitoring and Controlling projects on redmine."
version '0.1.1'
url 'https://github.com/alexmonteiro/Redmine-Monitoring-Controlling'
author_url 'http://www.alexandermonteiro.com.br'
#Settings page of plugin
#settings :default => {'redmine_monitoring_controlling_setting' => 'value', 'foo'=>'bar'}, :partial => 'settings/redmine_monitoring_controlling_settings'
project_module :monitoring_controlling_project do
permission :view_home_monitoring_controlling, {:home_monitoring_controlling_project => [:index]}
permission :view_mc_time_mgmt_project, {:mc_time_mgmt_project => [:index]}
permission :view_mc_human_resource_mgmt_project, {:mc_human_resource_mgmt_project => [:index]}
end
menu :project_menu, :redmine_monitoring_controlling, { :controller => 'home_monitoring_controlling_project', :action => 'index' }, :caption => :monitoring_controlling_title
end