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
Jérome Perrin
gitlab-ce
Commits
0feb1668
Commit
0feb1668
authored
Jun 12, 2017
by
Luke "Jared" Bennett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct 'report as abuse' nesting in _more_actions_dropdown.html.haml
parent
4cc175f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
app/views/projects/notes/_more_actions_dropdown.html.haml
app/views/projects/notes/_more_actions_dropdown.html.haml
+4
-4
No files found.
app/views/projects/notes/_more_actions_dropdown.html.haml
View file @
0feb1668
...
@@ -6,10 +6,10 @@
...
@@ -6,10 +6,10 @@
%li
%li
=
button_tag
'Edit comment'
,
class:
'js-note-edit btn btn-transparent'
=
button_tag
'Edit comment'
,
class:
'js-note-edit btn btn-transparent'
%li
.divider
%li
.divider
-
if
current_user
!=
note
.
author
-
if
current_user
!=
note
.
author
%li
%li
=
link_to
new_abuse_report_path
(
user_id:
note
.
author
.
id
,
ref_url:
noteable_note_url
(
note
))
do
=
link_to
new_abuse_report_path
(
user_id:
note
.
author
.
id
,
ref_url:
noteable_note_url
(
note
))
do
Report as abuse
Report as abuse
-
if
note_editable
-
if
note_editable
%li
%li
=
link_to
note_url
(
note
),
method: :delete
,
data:
{
confirm:
'Are you sure you want to delete this comment?'
},
remote:
true
,
class:
'js-note-delete'
do
=
link_to
note_url
(
note
),
method: :delete
,
data:
{
confirm:
'Are you sure you want to delete this comment?'
},
remote:
true
,
class:
'js-note-delete'
do
...
...
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