diff options
author | Douwe Maan <douwe@gitlab.com> | 2018-01-10 15:51:52 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2018-01-10 15:51:52 +0000 |
commit | af7250359ea0123e69bb51efd344cf4656712eb3 (patch) | |
tree | 9e334c5cf63b1606ab45f0e35f8f1e5e1b201fd6 | |
parent | dae93ef1ce2fbfe6342d6ec540f1b187d92a7cec (diff) | |
parent | 7dd7ccdaca8e00a9f7983d80edb6cb721ee94695 (diff) | |
download | gitlab-ce-af7250359ea0123e69bb51efd344cf4656712eb3.tar.gz |
Merge branch 'merge-request-lfs-badge' into 'master'
Added LFS badge to merge request files tracked by LFS
Closes #41829
See merge request gitlab-org/gitlab-ce!16345
-rw-r--r-- | app/views/projects/diffs/_file_header.html.haml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/projects/diffs/_file_header.html.haml b/app/views/projects/diffs/_file_header.html.haml index 73c316472e3..dbeddf6689a 100644 --- a/app/views/projects/diffs/_file_header.html.haml +++ b/app/views/projects/diffs/_file_header.html.haml @@ -35,3 +35,6 @@ - if diff_file.mode_changed? %small #{diff_file.a_mode} → #{diff_file.b_mode} + + - if diff_file.stored_externally? && diff_file.external_storage == :lfs + %span.label.label-lfs.append-right-5 LFS |