2018-03-17 18:26:18 +05:30
|
|
|
- is_lfs_blob = @lfs_blob_ids.include?(blob_item.id)
|
2014-09-02 18:07:02 +05:30
|
|
|
%tr{ class: "tree-item #{tree_hex_class(blob_item)}" }
|
|
|
|
%td.tree-item-file-name
|
2015-04-26 12:48:37 +05:30
|
|
|
= tree_icon(type, blob_item.mode, blob_item.name)
|
2016-06-22 15:30:34 +05:30
|
|
|
- file_name = blob_item.name
|
2018-03-17 18:26:18 +05:30
|
|
|
= link_to project_blob_path(@project, tree_join(@id || @commit.id, blob_item.name)), class: 'str-truncated', title: file_name do
|
|
|
|
%span= file_name
|
|
|
|
- if is_lfs_blob
|
|
|
|
%span.label.label-lfs.prepend-left-5 LFS
|
2016-09-29 09:46:39 +05:30
|
|
|
%td.hidden-xs.tree-commit
|
|
|
|
%td.tree-time-ago.cgray.text-right
|
2017-08-17 22:00:37 +05:30
|
|
|
= render 'projects/tree/spinner'
|