gitlab-ce/app/views/projects/diffs
Francisco Javier López 5a3e6fdff9
Fixing image lfs bug and also displaying text lfs
This commit, introduced in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/23812,
fixes a problem creating a displaying image diff notes when the image
is stored in LFS. The main problem was that `Gitlab::Diff::File` was
returning an invalid valid in `text?` for this kind of files.

It also fixes a rendering problem with other LFS files, like text
ones. They LFS pointer shouldn't be shown when LFS is enabled
for the project, but they were.
2018-12-27 16:51:07 +01:00
..
viewers
_collapsed.html.haml
_content.html.haml
_diffs.html.haml Fixed UI bugs with sticky diff header 2018-11-27 10:14:58 +00:00
_file.html.haml Fixed UI bugs with sticky diff header 2018-11-27 10:14:58 +00:00
_file_header.html.haml
_image_diff_frame.html.haml
_line.html.haml
_parallel_view.html.haml
_render_error.html.haml Fixing image lfs bug and also displaying text lfs 2018-12-27 16:51:07 +01:00
_replaced_image_diff.html.haml
_single_image_diff.html.haml
_stats.html.haml
_text_file.html.haml
_viewer.html.haml
_warning.html.haml