gitlab-org--gitlab-foss/app/views/projects/tree/_tree_item.html.haml

10 lines
424 B
Text
Raw Normal View History

%tr{ class: "tree-item #{tree_hex_class(tree_item)}" }
2011-10-08 17:36:38 -04:00
%td.tree-item-file-name
2014-10-04 06:29:18 -04:00
= tree_icon(type, tree_item.mode, tree_item.name)
- 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
%td.hidden-xs.tree-commit
%td.tree-time-ago.text-right
2016-12-22 06:43:54 -05:00
= render 'projects/tree/spinner'