html/partials/unmanaged_files.html.haml in machinery-tool-1.20.0 vs html/partials/unmanaged_files.html.haml in machinery-tool-1.21.0

- old
+ new

@@ -18,16 +18,20 @@ %table.table.table-striped.table-hover.table-condensed.files-table.filterable %thead %tr %th Name %th.medium Type - - if unmanaged_files.has_metadata + - if unmanaged_files.contains_metadata? %th.medium Mode %th.medium User %th.medium Group %th.medium Size - %th.medium Files in dir. + - if unmanaged_files.has_subdir_counts? + %th.medium Subdirectories + %th.medium Files in Directory + - else + %th.medium File Objects %tbody - unmanaged_files.each do |file| %tr %td - if file.on_disk? @@ -35,11 +39,15 @@ = file.name - else %span = file.name %td= file.type - - if unmanaged_files.has_metadata + - if unmanaged_files.contains_metadata? %td= file.mode %td= file.user %td= file.group %td= number_to_human_size(file.size) + - if unmanaged_files.has_subdir_counts? + %td= file.dirs %td= file.files + - else + %td= file.file_objects