gitlabhq/app/views/tree/_tree_item.html.haml

12 lines
501 B
Plaintext
Raw Normal View History

- file = tree_full_path(content)
%tr{ class: "tree-item #{tree_hex_class(content)}", url: project_tree_path(@project, tree_join(@id, file)) }
2011-10-08 23:36:38 +02:00
%td.tree-item-file-name
= tree_icon(content)
%strong= link_to truncate(content.name, length: 40), project_tree_path(@project, tree_join(@id || @commit.id, file)), remote: :true
2012-07-06 15:42:13 +02:00
%td.tree_time_ago.cgray
- if index == 1
%span.log_loading
Loading commit data..
= image_tag "ajax_loader_tree.gif", width: 14
2012-07-06 15:42:13 +02:00
%td.tree_commit