summaryrefslogtreecommitdiff
path: root/app/views/projects/tree/_tree_item.html.haml
blob: ce0cd95b468781d38433cf583aae1a1d3e50adbb (plain)
1
2
3
4
5
6
7
8
9
%tr{ class: "tree-item #{tree_hex_class(tree_item)}" }
  %td.tree-item-file-name
    = tree_icon(type, tree_item.mode, tree_item.name)
    - path = flatten_tree(@path, tree_item)
    = link_to project_tree_path(@project, tree_join(@id || @commit.id, path)), class: 'str-truncated', title: path do
      %span= path
  %td.d-none.d-sm-table-cell.tree-commit
  %td.tree-time-ago.text-right
    = render 'projects/tree/spinner'