diff options
author | Annabel Dunstone <annabel.dunstone@gmail.com> | 2016-04-13 12:54:21 -0500 |
---|---|---|
committer | Annabel Dunstone <annabel.dunstone@gmail.com> | 2016-04-14 09:10:40 -0500 |
commit | d176f873e1fdf23ebeeebf6d2d25927941016390 (patch) | |
tree | 3cd60e40d99235f6689cae652456a18b4486f03b /app/views/projects/blob | |
parent | 7030ffb0e09dbcc0d03d377846a04fe6cf7d20b6 (diff) | |
download | gitlab-ce-d176f873e1fdf23ebeeebf6d2d25927941016390.tar.gz |
Add content attributes to discussion diffs; change styling of add-note icon to prevent white spaces in paste
Diffstat (limited to 'app/views/projects/blob')
-rw-r--r-- | app/views/projects/blob/diff.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/blob/diff.html.haml b/app/views/projects/blob/diff.html.haml index ea6d4df7255..c6ed78aadf6 100644 --- a/app/views/projects/blob/diff.html.haml +++ b/app/views/projects/blob/diff.html.haml @@ -9,9 +9,9 @@ - line_old = line_new - @form.offset %tr.line_holder %td.old_line.diff-line-num{data: {linenumber: line_old}} - / = link_to raw(line_old), "#" + = link_to raw(line_old), "#" %td.new_line.diff-line-num{data: {linenumber: line_old}} - / = link_to raw(line_new) , "#" + = link_to raw(line_new) , "#" %td.line_content.noteable_line==#{' ' * @form.indent}#{line} - if @form.unfold? && @form.bottom? && @form.to < @blob.loc |