mirror of
https://github.com/redmine/redmine.git
synced 2025-10-26 07:46:17 +01:00
Change quote note icon to quotation marks (#31531).
Patch by Mizuki ISHIKAWA (user:ishikawa999) and Marius BALTEANU (user:marius.balteanu). git-svn-id: https://svn.redmine.org/redmine/trunk@23811 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -362,6 +362,6 @@ timelog_accept_closed_issues:
|
||||
show_status_changes_in_mail_subject:
|
||||
default: 1
|
||||
wiki_tablesort_enabled:
|
||||
default: 1
|
||||
default: 0
|
||||
reactions_enabled:
|
||||
default: 1
|
||||
|
||||
@@ -8,6 +8,7 @@ class CreateSettings < ActiveRecord::Migration[4.2]
|
||||
# Persist default settings for new installations
|
||||
Setting.create!(name: 'default_notification_option', value: Setting.default_notification_option)
|
||||
Setting.create!(name: 'text_formatting', value: Setting.text_formatting)
|
||||
Setting.create!(name: 'wiki_tablesort_enabled', value: Setting.wiki_tablesort_enabled)
|
||||
end
|
||||
|
||||
def self.down
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
class EnsureWikiTablesortSettingIsStoredInDb < ActiveRecord::Migration[7.2]
|
||||
def change
|
||||
unless Setting.where(name: "wiki_tablesort_enabled").exists?
|
||||
setting = Setting.new(:name => "wiki_tablesort_enabled", :value => 1)
|
||||
setting.save!
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -147,4 +147,8 @@ class SettingTest < ActiveSupport::TestCase
|
||||
def test_default_text_formatting_for_new_installations_is_common_mark
|
||||
assert_equal 'common_mark', Setting.text_formatting
|
||||
end
|
||||
|
||||
def test_default_wiki_tablesort_enabled_for_new_installations_is_disabled
|
||||
assert_equal "0", Setting.wiki_tablesort_enabled
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user