summaryrefslogtreecommitdiff
path: root/app/views/projects/diffs
diff options
context:
space:
mode:
authorKushal Pandya <kushal@gitlab.com>2016-12-23 15:07:12 +0530
committerKushal Pandya <kushal@gitlab.com>2016-12-31 11:43:08 +0530
commitdd5ffd9ca648dba4c0b58be2172cd14c428fa654 (patch)
treec83bff9e852b8dacefb3cee11920bde1c8d0eb81 /app/views/projects/diffs
parent7157f5857a187cfa7011ef7e0077d599e846d452 (diff)
downloadgitlab-ce-dd5ffd9ca648dba4c0b58be2172cd14c428fa654.tar.gz
HAMLLint: Fix `ImplicitDiv` offences
Diffstat (limited to 'app/views/projects/diffs')
-rw-r--r--app/views/projects/diffs/_image.html.haml6
-rw-r--r--app/views/projects/diffs/_parallel_view.html.haml2
2 files changed, 4 insertions, 4 deletions
diff --git a/app/views/projects/diffs/_image.html.haml b/app/views/projects/diffs/_image.html.haml
index 28fee887f4d..81883182833 100644
--- a/app/views/projects/diffs/_image.html.haml
+++ b/app/views/projects/diffs/_image.html.haml
@@ -12,7 +12,7 @@
%p.image-info= "#{number_to_human_size file.size}"
- else
.image
- %div.two-up.view
+ .two-up.view
%span.wrap
.frame.deleted
%a{href: namespace_project_blob_path(@project.namespace, @project, tree_join(diff_file.old_ref, diff.old_path))}
@@ -38,7 +38,7 @@
%b H:
%span.meta-height
- %div.swipe.view.hide
+ .swipe.view.hide
.swipe-frame
.frame.deleted
%img{src: old_file_raw_path, alt: diff.old_path}
@@ -49,7 +49,7 @@
%span.top-handle
%span.bottom-handle
- %div.onion-skin.view.hide
+ .onion-skin.view.hide
.onion-skin-frame
.frame.deleted
%img{src: old_file_raw_path, alt: diff.old_path}
diff --git a/app/views/projects/diffs/_parallel_view.html.haml b/app/views/projects/diffs/_parallel_view.html.haml
index 78aa9fb7391..401cbc16117 100644
--- a/app/views/projects/diffs/_parallel_view.html.haml
+++ b/app/views/projects/diffs/_parallel_view.html.haml
@@ -1,5 +1,5 @@
/ Side-by-side diff view
-%div.text-file.diff-wrap-lines.code.js-syntax-highlight{ data: diff_view_data }
+.text-file.diff-wrap-lines.code.js-syntax-highlight{ data: diff_view_data }
%table
- last_line = 0
- diff_file.parallel_diff_lines.each do |line|