diff options
author | Phil Hughes <me@iamphill.com> | 2017-02-23 13:46:40 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-02-28 17:36:30 +0300 |
commit | db44e5569851d5542ae3fbe283cd7ccf0522b46a (patch) | |
tree | 6dfc788e3dcdcd4b7446ad381617077b9d5ca4ff /app/views/projects/blob/diff.html.haml | |
parent | 54f6357ba3d7f31bdb0009a041e48c3a6be8e2ff (diff) |
Visually display that expanded diff lines cant be commented on
Previously you just had to hover over a line to see if it could be
commented on, this changes that by changing the background color &
borders to show that the line cant have a comment.
Diffstat (limited to 'app/views/projects/blob/diff.html.haml')
-rw-r--r-- | app/views/projects/blob/diff.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/blob/diff.html.haml b/app/views/projects/blob/diff.html.haml index c48d9dd982c..2e50b90a617 100644 --- a/app/views/projects/blob/diff.html.haml +++ b/app/views/projects/blob/diff.html.haml @@ -9,7 +9,7 @@ - line_old = line_new - @form.offset - line_content = capture do %td.line_content.noteable_line{ class: line_class }==#{' ' * @form.indent}#{line} - %tr.line_holder{ id: line_old, class: line_class } + %tr.line_holder.diff-expanded{ id: line_old, class: line_class } - case diff_view - when :inline %td.old_line.diff-line-num{ data: { linenumber: line_old } } |