diff --git a/routers/web/web.go b/routers/web/web.go index c36fad2c5a..8fbe1b0e39 100644 --- a/routers/web/web.go +++ b/routers/web/web.go @@ -476,8 +476,8 @@ func registerRoutes(m *web.Route) { }, reqSignIn) if setting.Moderation.Enabled { - m.Get("/-/abuse_reports/new", reqSignIn, moderation.NewReport) - m.Post("/-/abuse_reports/new", reqSignIn, web.Bind(forms.ReportAbuseForm{}), moderation.CreatePost) + m.Get("/report_abuse", reqSignIn, moderation.NewReport) + m.Post("/report_abuse", reqSignIn, web.Bind(forms.ReportAbuseForm{}), moderation.CreatePost) } m.Get("/pulls", reqSignIn, user.Pulls) diff --git a/templates/org/header.tmpl b/templates/org/header.tmpl index 2bc6613adc..4097e34b24 100644 --- a/templates/org/header.tmpl +++ b/templates/org/header.tmpl @@ -25,7 +25,7 @@ {{end}} diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl index 13c8fb8e67..b6cbfc7283 100644 --- a/templates/repo/header.tmpl +++ b/templates/repo/header.tmpl @@ -71,7 +71,7 @@ {{end}} diff --git a/templates/repo/issue/view_content/context_menu.tmpl b/templates/repo/issue/view_content/context_menu.tmpl index 07a8d83711..6f43f768b3 100644 --- a/templates/repo/issue/view_content/context_menu.tmpl +++ b/templates/repo/issue/view_content/context_menu.tmpl @@ -29,7 +29,7 @@ {{if .ctxData.Issue.IsPull}} {{$contentType = "pull"}} {{else}} {{$contentType = "issue"}} {{end}} {{end}}
- {{ctx.Locale.Tr "moderation.report_content"}} + {{ctx.Locale.Tr "moderation.report_content"}} {{end}} diff --git a/templates/shared/user/profile_big_avatar.tmpl b/templates/shared/user/profile_big_avatar.tmpl index 5776839c6c..725e310533 100644 --- a/templates/shared/user/profile_big_avatar.tmpl +++ b/templates/shared/user/profile_big_avatar.tmpl @@ -125,7 +125,7 @@ {{if .IsModerationEnabled}}
  • - {{ctx.Locale.Tr "moderation.report_abuse"}} + {{ctx.Locale.Tr "moderation.report_abuse"}}
  • {{end}} {{end}}