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
iv
gitlab-ce
Commits
af81ff4e
Commit
af81ff4e
authored
Jun 30, 2013
by
Jack Weeden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed 'javascript:;' links to '#'
parent
22c00e64
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app/views/notes/_note.html.haml
app/views/notes/_note.html.haml
+2
-2
No files found.
app/views/notes/_note.html.haml
View file @
af81ff4e
...
...
@@ -6,7 +6,7 @@
Link here
-
if
(
note
.
author_id
==
current_user
.
id
)
||
can?
(
current_user
,
:admin_note
,
@project
)
=
link_to
"
javascript:;
"
,
title:
"Edit comment"
,
class:
"js-note-edit"
do
=
link_to
"
#
"
,
title:
"Edit comment"
,
class:
"js-note-edit"
do
%i
.icon-edit
=
link_to
project_note_path
(
@project
,
note
),
title:
"Remove comment"
,
method: :delete
,
confirm:
'Are you sure you want to remove this comment?'
,
remote:
true
,
class:
"danger js-note-delete"
do
%i
.icon-trash.cred
...
...
@@ -45,7 +45,7 @@
%span
.file_name.js-attachment-filename
File name...
=
f
.
file_field
:attachment
,
class:
"js-note-attachment-input hide"
=
link_to
'Cancel'
,
"
javascript:;
"
,
class:
"btn btn-cancel note-edit-cancel"
=
link_to
'Cancel'
,
"
#
"
,
class:
"btn btn-cancel note-edit-cancel"
-
if
note
.
attachment
.
url
...
...
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