2017-05-02 18:46:24 -04:00
|
|
|
.file-header-content
|
2021-05-21 08:10:27 -04:00
|
|
|
- if Gitlab::MarkupHelper.gitlab_markdown?(blob.path)
|
|
|
|
.js-table-contents
|
2017-05-02 18:46:24 -04:00
|
|
|
= blob_icon blob.mode, blob.name
|
|
|
|
|
2020-11-06 19:08:58 -05:00
|
|
|
%strong.file-title-name.gl-word-break-all{ data: { qa_selector: 'file_name_content' } }
|
2017-05-02 18:46:24 -04:00
|
|
|
= blob.name
|
|
|
|
|
|
|
|
= copy_file_path_button(blob.path)
|
|
|
|
|
2019-05-30 08:54:12 -04:00
|
|
|
%small.mr-1
|
2020-08-10 17:09:44 -04:00
|
|
|
- if blob.mode == Blob::MODE_SYMLINK
|
|
|
|
= _('Symbolic link') << ' ·'
|
2017-05-02 18:46:24 -04:00
|
|
|
= number_to_human_size(blob.raw_size)
|
2017-12-11 07:17:11 -05:00
|
|
|
|
2017-12-14 05:10:20 -05:00
|
|
|
- if blob.stored_externally? && blob.external_storage == :lfs
|
2020-07-08 17:09:09 -04:00
|
|
|
%span.badge.label-lfs.gl-mr-2 LFS
|