_tree_item.html.haml 423 Bytes
Newer Older
1
%tr{ class: "tree-item #{tree_hex_class(tree_item)}" }
gitlabhq's avatar
gitlabhq committed
2
  %td.tree-item-file-name
3
    = tree_icon(type, tree_item.mode, tree_item.name)
4 5 6
    - path = flatten_tree(tree_item)
    = link_to namespace_project_tree_path(@project.namespace, @project, tree_join(@id || @commit.id, path)), title: path do
      %span.str-truncated= path
7 8 9
  %td.hidden-xs.tree-commit
  %td.tree-time-ago.text-right
    = render 'projects/tree/spinner'