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