]> source.dussan.org Git - redmine.git/commitdiff
Adds path to plugin_assets directory in admin/info (#8817).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 22 Oct 2014 19:10:12 +0000 (19:10 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 22 Oct 2014 19:10:12 +0000 (19:10 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@13489 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/admin_controller.rb
app/views/admin/info.html.erb

index b0e5ce6fa63f48cad4d386b7eb792fa24dac0e9b..b09b1c4c9439f63c9ca4404938845d6ea4978cc1 100644 (file)
@@ -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?]
     ]
index 3205a00ebcc0b7f4d291771ac67ca6e41170dbdb..14d33bab0918e5915050810081cef472a7a8cf3f 100644 (file)
@@ -5,7 +5,7 @@
 <table class="list">
 <% @checklist.each do |label, result| %>
   <tr class="<%= cycle 'odd', 'even' %>">
-    <td class="name"><%= l(label) %></td>
+    <td class="name"><%= label.is_a?(Symbol) ? l(label) : label %></td>
     <td class="tick"><%= image_tag((result ? 'true.png' : 'exclamation.png'),
                                     :style => "vertical-align:bottom;") %></td>
   </tr>