debian-mirror-gitlab/app/views/projects/tree/_tree_item.html.haml

10 lines
411 B
Text
Raw Normal View History

2014-09-02 18:07:02 +05:30
%tr{ class: "tree-item #{tree_hex_class(tree_item)}" }
%td.tree-item-file-name
2015-04-26 12:48:37 +05:30
= tree_icon(type, tree_item.mode, tree_item.name)
2018-03-17 18:26:18 +05:30
- 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
2016-09-29 09:46:39 +05:30
%td.hidden-xs.tree-commit
%td.tree-time-ago.text-right
2017-08-17 22:00:37 +05:30
= render 'projects/tree/spinner'