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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
653f7ec4
Commit
653f7ec4
authored
Sep 14, 2012
by
Riyad Preukschas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update links for inline comments to use data-* attributes
parent
20e009a4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/views/commits/_text_file.html.haml
app/views/commits/_text_file.html.haml
+1
-1
app/views/notes/_reply_button.html.haml
app/views/notes/_reply_button.html.haml
+1
-1
No files found.
app/views/commits/_text_file.html.haml
View file @
653f7ec4
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
%td
.old_line
%td
.old_line
=
link_to
raw
(
type
==
"new"
?
" "
:
line_old
),
"#
#{
line_code
}
"
,
id:
line_code
=
link_to
raw
(
type
==
"new"
?
" "
:
line_old
),
"#
#{
line_code
}
"
,
id:
line_code
-
if
@comments_allowed
-
if
@comments_allowed
=
link_to
""
,
"#"
,
class:
"line_note_link"
,
"line_code"
=>
line_code
,
title:
"Add note for this line"
=
link_to
""
,
"#"
,
class:
"line_note_link"
,
data:
{
line_code:
line_code
}
,
title:
"Add note for this line"
%td
.new_line
=
link_to
raw
(
type
==
"old"
?
" "
:
line_new
)
,
"#
#{
line_code
}
"
,
id:
line_code
%td
.new_line
=
link_to
raw
(
type
==
"old"
?
" "
:
line_new
)
,
"#
#{
line_code
}
"
,
id:
line_code
%td
.line_content
{
class:
"noteable_line #{type} #{line_code}"
,
"line_code"
=>
line_code
}=
raw
"
#{
line
}
"
%td
.line_content
{
class:
"noteable_line #{type} #{line_code}"
,
"line_code"
=>
line_code
}=
raw
"
#{
line
}
"
...
...
app/views/notes/_reply_button.html.haml
View file @
653f7ec4
%tr
.line_notes_row.reply
%tr
.line_notes_row.reply
%td
{
colspan:
3
}
%td
{
colspan:
3
}
%i
.icon-comment
%i
.icon-comment
=
link_to
"Reply"
,
"#"
,
class:
"line_note_reply_link"
,
"line_code"
=>
line_code
,
title:
"Add note for this line"
=
link_to
"Reply"
,
"#"
,
class:
"line_note_reply_link"
,
data:
{
line_code:
line_code
}
,
title:
"Add note for this line"
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