Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-01-10 14:00:33 +0300
committerPhil Hughes <me@iamphill.com>2018-01-10 14:00:33 +0300
commit817da7cf8c1caef45c37153c7eb776ed1f226625 (patch)
tree9b3d3266365be307e160d0a15ebff04af6ede48e /app/views
parentbe623ef3c1a867d23e9625fe372c17fcad3c47ce (diff)
Added LFS to merge request files tracked by LFS
Closes #41829
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/diffs/_file_header.html.haml3
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