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
ed7a8c92
Commit
ed7a8c92
authored
Aug 06, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve wording in abuse report form
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
4ba26988
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
app/controllers/abuse_reports_controller.rb
app/controllers/abuse_reports_controller.rb
+2
-1
app/views/abuse_reports/new.html.haml
app/views/abuse_reports/new.html.haml
+2
-4
No files found.
app/controllers/abuse_reports_controller.rb
View file @
ed7a8c92
...
...
@@ -9,7 +9,8 @@ class AbuseReportsController < ApplicationController
@abuse_report
.
reporter
=
current_user
if
@abuse_report
.
save
redirect_to
root_path
,
notice:
'Thank you for report. GitLab administrator will be able to see it'
message
=
"Thank you for your report. A GitLab administrator will look into it shortly."
redirect_to
root_path
,
notice:
message
else
render
:new
end
...
...
app/views/abuse_reports/new.html.haml
View file @
ed7a8c92
-
page_title
"Report abuse"
%h3
.page-title
Report abuse
%p
Please use this form
if user makes spam or inappropriate content
%p
Please use this form
to report users who create spam issues or comments or who otherwise behave inappropriately.
%hr
=
form_for
@abuse_report
,
html:
{
class:
'form-horizontal'
}
do
|
f
|
=
f
.
hidden_field
:user_id
...
...
@@ -18,9 +18,7 @@
.col-sm-10
=
f
.
text_area
:message
,
class:
"form-control"
,
rows:
2
,
required:
true
.help-block
Explain the problem with this account.
%br
If user sends spam please provide a link to spam issue or comment
Explain the problem with this user. If appropriate, provide a link to the relevant issue or comment.
.form-actions
=
f
.
submit
"Send report"
,
class:
"btn btn-create"
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