html/partials/unmanaged_files.html.haml in machinery-tool-1.21.0 vs html/partials/unmanaged_files.html.haml in machinery-tool-1.22.0
- old
+ new
@@ -24,18 +24,18 @@
%th.medium Mode
%th.medium User
%th.medium Group
%th.medium Size
- if unmanaged_files.has_subdir_counts?
- %th.medium Subdirectories
+ %th.medium Directories
%th.medium Files in Directory
- else
%th.medium File Objects
%tbody
- unmanaged_files.each do |file|
%tr
%td
- - if file.on_disk?
+ - if file.on_disk? && !@static_html
%a.file-download{ href: "#" }
= file.name
- else
%span
= file.name