overleaf/services/web/app/views/beta_program/opt_in.pug

44 lines
1.5 KiB
Text
Raw Normal View History

2016-06-07 06:15:56 -04:00
extends ../layout
block content
.content.content-alt
.container.beta-opt-in-wrapper
.row
.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
.card
.page-header.text-centered
h1
| #{translate("sharelatex_beta_program")}
.beta-opt-in
.container-fluid
.row
.col-md-12
p.text-centered #{translate("beta_program_benefits")}
2016-06-08 06:38:14 -04:00
p.text-centered
| #{translate("beta_program_badge_description")}
span.beta-feature-badge
p.text-centered
strong We're not currently testing anything in beta, but keep checking back!
2016-06-07 06:15:56 -04:00
.row.text-centered
.col-md-12
if user.betaProgram
p #{translate("beta_program_already_participating")}
form(id="beta-program-opt-out", method="post", action="/beta/opt-out", novalidate)
2016-06-08 10:11:39 -04:00
.form-group
input(type="hidden", name="_csrf", value=csrfToken)
button.btn.btn-primary(
type="submit"
)
span #{translate("beta_program_opt_out_action")}
.form-group
a(href="/project").btn.btn-info #{translate("back_to_your_projects")}
2016-06-07 06:15:56 -04:00
else
form(id="beta-program-opt-in", method="post", action="/beta/opt-in", novalidate)
2016-06-07 06:15:56 -04:00
.form-group
input(type="hidden", name="_csrf", value=csrfToken)
2016-06-08 06:04:44 -04:00
button.btn.btn-primary(
2016-06-07 06:15:56 -04:00
type="submit"
)
span #{translate("beta_program_opt_in_action")}