summaryrefslogtreecommitdiff
path: root/app/views/projects/diffs/_file.html.haml
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-02-05 22:28:48 +0000
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-02-08 20:52:08 -0600
commitb57027f2a5e3b5b5c786ed72ad8d2c8d16725b17 (patch)
treed19dd97f4c4656e736298e98015f4deedeabbcce /app/views/projects/diffs/_file.html.haml
parentaf143b3f562aadc7f7cda68722be18224b24fa33 (diff)
downloadgitlab-ce-b57027f2a5e3b5b5c786ed72ad8d2c8d16725b17.tar.gz
Use a new class to keep old behavior
Diffstat (limited to 'app/views/projects/diffs/_file.html.haml')
-rw-r--r--app/views/projects/diffs/_file.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/diffs/_file.html.haml b/app/views/projects/diffs/_file.html.haml
index 4b65d3c44c4..cb5a83ae843 100644
--- a/app/views/projects/diffs/_file.html.haml
+++ b/app/views/projects/diffs/_file.html.haml
@@ -1,6 +1,6 @@
- environment = local_assigns.fetch(:environment, nil)
.diff-file.file-holder{ id: file_hash, data: diff_file_html_data(project, diff_file.file_path, diff_commit.id) }
- .file-title-flex-parent
+ .js-file-title.file-title-flex-parent
= render "projects/diffs/file_header", diff_file: diff_file, blob: blob, diff_commit: diff_commit, project: project, url: "##{file_hash}"
- unless diff_file.submodule?