代码拉取完成,页面将自动刷新
Redmine::Plugin.register :microsoft_project_connector do
name 'Microsoft Project Connector'
author 'Li Chan'
description 'A Redmine Plugin to Work with MS Project'
version '1.0.13'
url 'https://github.com/conveniencable/microsoft_project_connector'
author_url 'https://github.com/conveniencable'
menu :admin_menu, :microsoft_project_connector, {:controller => 'settings', :action => 'plugin', :id => "microsoft_project_connector"}, :html => {:class => 'icon icon-ms-project'}, :caption => :microsoft_project_connector, :if => Proc.new { User.current.admin? || User.current.module_permissions.include?('microsoft_project_connector_setting') }
settings :default => {
}, :partial => 'settings/index'
end
if Rails.version > '6.0'
Rails.application.config.after_initialize do
require File.expand_path('../lib/microsoft_project_connector', __FILE__)
end
else
Rails.configuration.to_prepare do
require File.expand_path('../lib/microsoft_project_connector', __FILE__)
end
end
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。