Patch #2425 ยป redmine-0.8.0-plugin_assets-writable.diff
| redmine-0.8.0.futurelab/app/controllers/admin_controller.rb 2008-12-31 11:53:03.000000000 +0100 | ||
|---|---|---|
| 86 | 86 |
@flags = {
|
| 87 | 87 |
:default_admin_changed => User.find(:first, :conditions => ["login=? and hashed_password=?", 'admin', User.hash_password('admin')]).nil?,
|
| 88 | 88 |
:file_repository_writable => File.writable?(Attachment.storage_path), |
| 89 |
:plugin_assets_writable => File.writable?(Engines.public_directory), |
|
| 89 | 90 |
:rmagick_available => Object.const_defined?(:Magick) |
| 90 | 91 |
} |
| 91 | 92 |
end |
| redmine-0.8.0.futurelab/app/views/admin/info.rhtml 2008-12-31 12:00:23.000000000 +0100 | ||
|---|---|---|
| 5 | 5 |
<table class="list"> |
| 6 | 6 |
<tr class="odd"><td><%= l(:text_default_administrator_account_changed) %></td><td><%= image_tag (@flags[:default_admin_changed] ? 'true.png' : 'false.png'), :style => "vertical-align:bottom;" %></td></tr> |
| 7 | 7 |
<tr class="even"><td><%= l(:text_file_repository_writable) %></td><td><%= image_tag (@flags[:file_repository_writable] ? 'true.png' : 'false.png'), :style => "vertical-align:bottom;" %></td></tr> |
| 8 |
<tr class="even"><td><%= l(:text_plugin_assets_writable) %>: <%= Engines.public_directory %></td><td><%= image_tag (@flags[:plugin_assets_writable] ? 'true.png' : 'false.png'), :style => "vertical-align:bottom;" %></td></tr> |
|
| 8 | 9 |
<tr class="odd"><td><%= l(:text_rmagick_available) %></td><td><%= image_tag (@flags[:rmagick_available] ? 'true.png' : 'false.png'), :style => "vertical-align:bottom;" %></td></tr> |
| 9 | 10 |
</table> |
| 10 | 11 | |
| redmine-0.8.0.futurelab/lang/en.yml 2008-12-31 12:00:34.000000000 +0100 | ||
|---|---|---|
| 661 | 661 |
text_select_project_modules: 'Select modules to enable for this project:' |
| 662 | 662 |
text_default_administrator_account_changed: Default administrator account changed |
| 663 | 663 |
text_file_repository_writable: File repository writable |
| 664 |
text_plugin_assets_writable: Plugin assets directory writable |
|
| 664 | 665 |
text_rmagick_available: RMagick available (optional) |
| 665 | 666 |
text_destroy_time_entries_question: %.02f hours were reported on the issues you are about to delete. What do you want to do ? |
| 666 | 667 |
text_destroy_time_entries: Delete reported hours |