##// END OF EJS Templates
Adds path to plugin_assets directory in admin/info (#8817)....
Jean-Philippe Lang -
r13107:9b7d176e4905
parent child
Show More
@@ -76,7 +76,7 class AdminController < ApplicationController
76 @checklist = [
76 @checklist = [
77 [:text_default_administrator_account_changed, User.default_admin_account_changed?],
77 [:text_default_administrator_account_changed, User.default_admin_account_changed?],
78 [:text_file_repository_writable, File.writable?(Attachment.storage_path)],
78 [:text_file_repository_writable, File.writable?(Attachment.storage_path)],
79 [:text_plugin_assets_writable, File.writable?(Redmine::Plugin.public_directory)],
79 ["#{l :text_plugin_assets_writable} (./public/plugin_assets)", File.writable?(Redmine::Plugin.public_directory)],
80 [:text_rmagick_available, Object.const_defined?(:Magick)],
80 [:text_rmagick_available, Object.const_defined?(:Magick)],
81 [:text_convert_available, Redmine::Thumbnail.convert_available?]
81 [:text_convert_available, Redmine::Thumbnail.convert_available?]
82 ]
82 ]
@@ -5,7 +5,7
5 <table class="list">
5 <table class="list">
6 <% @checklist.each do |label, result| %>
6 <% @checklist.each do |label, result| %>
7 <tr class="<%= cycle 'odd', 'even' %>">
7 <tr class="<%= cycle 'odd', 'even' %>">
8 <td class="name"><%= l(label) %></td>
8 <td class="name"><%= label.is_a?(Symbol) ? l(label) : label %></td>
9 <td class="tick"><%= image_tag((result ? 'true.png' : 'exclamation.png'),
9 <td class="tick"><%= image_tag((result ? 'true.png' : 'exclamation.png'),
10 :style => "vertical-align:bottom;") %></td>
10 :style => "vertical-align:bottom;") %></td>
11 </tr>
11 </tr>
General Comments 0
You need to be logged in to leave comments. Login now