From: Jean-Philippe Lang Date: Wed, 22 Oct 2014 19:10:12 +0000 (+0000) Subject: Adds path to plugin_assets directory in admin/info (#8817). X-Git-Tag: 3.0.0~480 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9b7d176e4905dd2767a315242b9f74b0d14b9dc2;p=redmine.git Adds path to plugin_assets directory in admin/info (#8817). git-svn-id: http://svn.redmine.org/redmine/trunk@13489 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rb index b0e5ce6fa..b09b1c4c9 100644 --- a/app/controllers/admin_controller.rb +++ b/app/controllers/admin_controller.rb @@ -76,7 +76,7 @@ class AdminController < ApplicationController @checklist = [ [:text_default_administrator_account_changed, User.default_admin_account_changed?], [:text_file_repository_writable, File.writable?(Attachment.storage_path)], - [:text_plugin_assets_writable, File.writable?(Redmine::Plugin.public_directory)], + ["#{l :text_plugin_assets_writable} (./public/plugin_assets)", File.writable?(Redmine::Plugin.public_directory)], [:text_rmagick_available, Object.const_defined?(:Magick)], [:text_convert_available, Redmine::Thumbnail.convert_available?] ] diff --git a/app/views/admin/info.html.erb b/app/views/admin/info.html.erb index 3205a00eb..14d33bab0 100644 --- a/app/views/admin/info.html.erb +++ b/app/views/admin/info.html.erb @@ -5,7 +5,7 @@ <% @checklist.each do |label, result| %> - +
<%= l(label) %><%= label.is_a?(Symbol) ? l(label) : label %> <%= image_tag((result ? 'true.png' : 'exclamation.png'), :style => "vertical-align:bottom;") %>