mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-31 11:37:14 +00:00
Show warning in admin/info when there are pending migrations (#35562).
Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@21110 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
5bec58c1f6
commit
a6a8ef728c
@ -76,6 +76,7 @@ class AdminController < ApplicationController
|
||||
[:text_default_administrator_account_changed, User.default_admin_account_changed?],
|
||||
[:text_file_repository_writable, File.writable?(Attachment.storage_path)],
|
||||
["#{l :text_plugin_assets_writable} (./public/plugin_assets)", File.writable?(Redmine::Plugin.public_directory)],
|
||||
[:text_all_migrations_have_been_run, !ActiveRecord::Base.connection.migration_context.needs_migration?],
|
||||
[:text_minimagick_available, Object.const_defined?(:MiniMagick)],
|
||||
[:text_convert_available, Redmine::Thumbnail.convert_available?],
|
||||
[:text_gs_available, Redmine::Thumbnail.gs_available?]
|
||||
|
||||
@ -1242,6 +1242,7 @@ en:
|
||||
text_default_administrator_account_changed: Default administrator account changed
|
||||
text_file_repository_writable: Attachments directory writable
|
||||
text_plugin_assets_writable: Plugin assets directory writable
|
||||
text_all_migrations_have_been_run: All database migrations have been run
|
||||
text_minimagick_available: MiniMagick available (optional)
|
||||
text_convert_available: ImageMagick convert available (optional)
|
||||
text_gs_available: ImageMagick PDF support available (optional)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user