Drop Redmine 3.4 support, Redmine 4.0 is required
This commit is contained in:
parent
dd6c06a684
commit
99a03c734e
@ -14,6 +14,8 @@ Changelog
|
||||
- Support private comments with issue macro
|
||||
- Google Docs macro has been added
|
||||
- Fix bug with Rack 2.0.8 or newer
|
||||
- Drop Redmine 3.4 support
|
||||
- Add Redmine 4.1 support
|
||||
|
||||
2.0.22
|
||||
++++++
|
||||
|
@ -2,12 +2,8 @@ fieldset.box
|
||||
legend = l(:additionals_query_list_defaults)
|
||||
- setting_name_columns = "#{query_type}_list_defaults"
|
||||
- query = query_class.new(@settings[setting_name_columns.to_sym])
|
||||
- if Redmine::VERSION.to_s >= '4'
|
||||
.default-query-settings-label-redmine4
|
||||
= render_query_columns_selection(query, name: "settings[#{setting_name_columns}][column_names]")
|
||||
- else
|
||||
.default-query-settings-label
|
||||
= render_query_columns_selection(query, name: "settings[#{setting_name_columns}][column_names]")
|
||||
.default-query-settings-label
|
||||
= render_query_columns_selection(query, name: "settings[#{setting_name_columns}][column_names]")
|
||||
|
||||
- columns = query_class.new.available_totalable_columns
|
||||
- if columns.count.positive?
|
||||
|
@ -157,13 +157,8 @@
|
||||
|
||||
div.clear-both { clear: both; }
|
||||
|
||||
/* for Redmine 3.4 - fix problem with tabs */
|
||||
/* fix problem with tabs */
|
||||
.default-query-settings-label label {
|
||||
margin-left: -100px !important;
|
||||
}
|
||||
|
||||
/* for Redmine 4.x - fix problem with tabs */
|
||||
.default-query-settings-label-redmine4 label {
|
||||
width: 250px !important;
|
||||
margin-left: 0 !important;
|
||||
float: none;
|
||||
|
@ -38,9 +38,9 @@ Requirements
|
||||
------------
|
||||
|
||||
+--------------------+----------------------+
|
||||
| `Redmine`_ version | >= 3.4.0 |
|
||||
| `Redmine`_ version | >= 4.0.0 |
|
||||
+--------------------+----------------------+
|
||||
| `Ruby`_ version | >= 2.3.0 |
|
||||
| `Ruby`_ version | >= 2.4.0 (2.3.x should work, but untested) |
|
||||
+--------------------+----------------------+
|
||||
| Gem packages | see `Gemfile`_ |
|
||||
+--------------------+----------------------+
|
||||
|
2
init.rb
2
init.rb
@ -33,7 +33,7 @@ Redmine::Plugin.register :additionals do
|
||||
end
|
||||
|
||||
# required redmine version
|
||||
requires_redmine version_or_higher: '3.4.0'
|
||||
requires_redmine version_or_higher: '4.0.0'
|
||||
|
||||
menu :admin_menu, :additionals, { controller: 'settings', action: 'plugin', id: 'additionals' }, caption: :label_additionals
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user