-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathinit.rb
More file actions
executable file
·23 lines (17 loc) · 861 Bytes
/
init.rb
File metadata and controls
executable file
·23 lines (17 loc) · 861 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
require 'redmine'
require_dependency 'css_inserter_hooks'
Redmine::Plugin.register :issue_color_label do
name 'Issue Color Label plugin'
author 'Bogdan Anton'
description 'Customize the Issues table display for Status, Tracker and Priority columns.
Uses a JSON file as a database. Settings can be updated from the /admin page, accessing the "Issue Color Label" item.
The plugin can be enabled / disabled from the same panel.
Only administrators can update the settings, other users can only view the current settings.'
version '0.1'
url 'http://github.com/bogdananton/Redmine-plugin-issueColorLabel'
author_url 'http://bogdananton.ro'
settings :default => {
'admin_label' => 'Issue Color Label'
}
menu :admin_menu, :issue_color_label, '/issue-color-label/settings', :caption => :default['admin_label'], :last => true
end