%tr{ class: "tree-item #{tree_hex_class(tree_item)}" }
  %td.tree-item-file-name
    = tree_icon(type)
    %strong= link_to truncate(tree_item.name, length: 40), project_tree_path(@project, tree_join(@id || @commit.id, tree_item.name))
  %td.tree_time_ago.cgray
    %span.log_loading.hide
      Loading commit data...
      = image_tag "ajax_loader_tree.gif", width: 14
  %td.tree_commit{ colspan: 2 }