debian-mirror-gitlab/app/views/projects/blob/_header_content.html.haml
2022-04-04 11:22:00 +05:30

17 lines
509 B
Text

.file-header-content
- if Gitlab::MarkupHelper.gitlab_markdown?(blob.path)
.js-table-contents
= blob_icon blob.mode, blob.name
%strong.file-title-name.gl-word-break-all{ data: { qa_selector: 'file_name_content' } }
= blob.name
= copy_file_path_button(blob.path)
%small.mr-1
- if blob.symlink?
= _('Symbolic link') << ' ·'
= number_to_human_size(blob.raw_size)
- if blob.stored_externally? && blob.external_storage == :lfs
= gl_badge_tag(_('LFS'), variant: :neutral)