OSDN Git Service

bugfix refs #35476
[quickedit/quick_view.git] / init.rb
1 #coding: utf-8
2
3 require_dependency File.expand_path('../app/helpers/application_helper.rb', __FILE__)
4 require_dependency File.expand_path('../hooks', __FILE__)
5
6 Redmine::Plugin.register :quick_view do
7   name 'Quick View plugin'
8   author 'Akira Saito'
9   description 'This plugin provides ability to view a details of the issue at the issues page.'
10   version '0.1.0'
11
12   settings :default => {'issue_dialog_size'=>'640,600',
13                         'issue_tooltip_enabled'=>'on',
14                         'tooltip_attributes'=>[
15                           'avatar',
16                           'project',
17                           'subject',
18                           'status',
19                           'priority',
20                           'category',
21                           'target_version',
22                           'assigned_to',
23                           'start_date',
24                           'due_date',
25                           'estimated_hours',
26                           'spent_time'],
27                         'worktime_ext_dialog_anchor_enabled'=>'on',
28                         'worktime_ext_tooltip_enabled'=>'on'}, 
29            :partial => 'quick_view_issues/settings'
30 end