Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
a6c1f0d0
Commit
a6c1f0d0
authored
Aug 19, 2020
by
David Kim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix broken styles for add diff note on commit page
parent
3807fcbf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
app/helpers/notes_helper.rb
app/helpers/notes_helper.rb
+8
-6
No files found.
app/helpers/notes_helper.rb
View file @
a6c1f0d0
...
...
@@ -57,12 +57,14 @@ module NotesHelper
def
add_diff_note_button
(
line_code
,
position
,
line_type
)
return
if
@diff_notes_disabled
button_tag
''
,
class:
'add-diff-note js-add-diff-note-button'
,
type:
'submit'
,
name:
'button'
,
data:
diff_view_line_data
(
line_code
,
position
,
line_type
),
title:
_
(
'Add a comment to this line'
)
do
sprite_icon
(
'comment'
,
size:
12
)
content_tag
(
:span
,
class:
'add-diff-note tooltip-wrapper'
)
do
button_tag
''
,
class:
'note-button add-diff-note js-add-diff-note-button'
,
type:
'submit'
,
name:
'button'
,
data:
diff_view_line_data
(
line_code
,
position
,
line_type
),
title:
_
(
'Add a comment to this line'
)
do
sprite_icon
(
'comment'
,
size:
12
)
end
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment