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

10 lines
405 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)
%span.str-truncated
- path = flatten_tree(tree_item)
= link_to path, namespace_project_tree_path(@project.namespace, @project, tree_join(@id || @commit.id, path))
2012-07-06 09:42:13 -04:00
%td.tree_time_ago.cgray
= render 'projects/tree/spinner'
2014-06-22 12:24:50 -04:00
%td.hidden-xs.tree_commit