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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
509 B
Text
Raw Normal View History

2017-08-17 22:00:37 +05:30
.file-header-content
2021-09-04 01:27:46 +05:30
- if Gitlab::MarkupHelper.gitlab_markdown?(blob.path)
.js-table-contents
2017-08-17 22:00:37 +05:30
= 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
2022-04-04 11:22:00 +05:30
- if blob.symlink?
2020-10-24 23:57:45 +05:30
= _('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
2022-04-04 11:22:00 +05:30
= gl_badge_tag(_('LFS'), variant: :neutral)