debian-mirror-gitlab/app/views/projects/blob/_header_content.html.haml

16 lines
438 B
Text
Raw Normal View History

2017-08-17 22:00:37 +05:30
.file-header-content
= blob_icon blob.mode, blob.name
2021-01-29 00:20:46 +05:30
%strong.file-title-name.gl-word-break-all{ data: { qa_selector: 'file_name_content' } }
2017-08-17 22:00:37 +05:30
= blob.name
= copy_file_path_button(blob.path)
2019-09-04 21:01:54 +05:30
%small.mr-1
2020-10-24 23:57:45 +05:30
- if blob.mode == Blob::MODE_SYMLINK
= _('Symbolic link') << ' ·'
2017-08-17 22:00:37 +05:30
= number_to_human_size(blob.raw_size)
2018-03-17 18:26:18 +05:30
- if blob.stored_externally? && blob.external_storage == :lfs
2020-07-28 23:09:34 +05:30
%span.badge.label-lfs.gl-mr-2 LFS