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
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2016-01-21 16:23:53 +0300
committerDouwe Maan <douwe@selenight.nl>2016-01-21 16:23:53 +0300
commit21facf535377ad58d07e8943033fe14efface8b2 (patch)
tree020fc70236a38f44f67faeb7a6f387dd250f01f4 /app/views/projects/blob/diff.html.haml
parenta4ff270d59ef951538cb9d3962ebc8bc7d990016 (diff)
Use consistent markup and styling for highlighting across blobs, diffs, blame and snippets
Diffstat (limited to 'app/views/projects/blob/diff.html.haml')
-rw-r--r--app/views/projects/blob/diff.html.haml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/projects/blob/diff.html.haml b/app/views/projects/blob/diff.html.haml
index 2e913802be1..abcfca4cd11 100644
--- a/app/views/projects/blob/diff.html.haml
+++ b/app/views/projects/blob/diff.html.haml
@@ -10,7 +10,8 @@
%tr.line_holder
%td.old_line.diff-line-num{data: {linenumber: line_old}}
= link_to raw(line_old), "#"
- %td.new_line= link_to raw(line_new) , "#"
+ %td.new_line.diff-line-num
+ = link_to raw(line_new) , "#"
%td.line_content.noteable_line==#{' ' * @form.indent}#{line}
- if @form.unfold? && @form.bottom? && @form.to < @blob.loc