add link to DMCA form to report and contact pages
parent
7f092e07ac
commit
65cb30452e
|
@ -26,8 +26,15 @@ object form {
|
|||
action := s"${routes.Report.create}${reqUser.??(u => "?username=" + u.username)}"
|
||||
)(
|
||||
div(cls := "form-group")(
|
||||
a(href := routes.Page.loneBookmark("report-faq"), dataIcon := "", cls := "text")(
|
||||
"Read more about Lichess reports"
|
||||
p(
|
||||
a(href := routes.Page.loneBookmark("report-faq"), dataIcon := "", cls := "text")(
|
||||
"Read more about Lichess reports"
|
||||
)
|
||||
),
|
||||
ctx.req.queryString.contains("postUrl") option p(
|
||||
"Here for DMCA or Intellectual Property Take Down Notice? ",
|
||||
a(href := views.html.site.contact.dmcaUrl)("Complete this form instead"),
|
||||
"."
|
||||
)
|
||||
),
|
||||
form3.globalError(form),
|
||||
|
|
|
@ -343,9 +343,7 @@ object contact {
|
|||
"dmca",
|
||||
"DMCA / Intellectual Property Take Down Notice",
|
||||
p(
|
||||
a(
|
||||
href := "https://docs.google.com/forms/d/e/1FAIpQLSdRVaJ6Wk2KHcrLcY0BxM7lTwYSQHDsY2DsGwbYoLUBo3ngfQ/viewform"
|
||||
)("Complete this form"),
|
||||
a(href := dmcaUrl)("Complete this form"),
|
||||
" ",
|
||||
"if you are the original copyright holder, or an agent acting on behalf of the copyright holder, and believe Lichess is hosting work(s) you hold the copyright to."
|
||||
)
|
||||
|
@ -363,6 +361,9 @@ object contact {
|
|||
)
|
||||
)
|
||||
|
||||
val dmcaUrl =
|
||||
"https://docs.google.com/forms/d/e/1FAIpQLSdRVaJ6Wk2KHcrLcY0BxM7lTwYSQHDsY2DsGwbYoLUBo3ngfQ/viewform"
|
||||
|
||||
def apply()(implicit ctx: Context) =
|
||||
page.layout(
|
||||
title = trans.contact.contact.txt(),
|
||||
|
|
Loading…
Reference in New Issue