1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-05 15:11:31 +00:00

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
This commit is contained in:
Jean-Philippe Lang 2014-10-22 19:10:12 +00:00
parent ec3b7b182e
commit 9b7d176e49
2 changed files with 2 additions and 2 deletions

View 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?]
]

View 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>