1
0
Fork 0
mirror of https://github.com/overleaf/overleaf.git synced 2024-12-14 06:20:57 -05:00
overleaf/services/web/app/views/project/invite/show.pug
Jakob Ackermann 5fc79f6fd4 Merge pull request from overleaf/jpa-de-ng-simple-pages
[web] de-ng simple pages

GitOrigin-RevId: d5e2f05780e7f91bea1a037022a3c8a0c276f6e6
2021-09-30 08:03:47 +00:00

34 lines
1.1 KiB
Text

extends ../../layout-marketing
block content
main.content.content-alt#main-content
.container
.row
.col-md-8.col-md-offset-2
.card.project-invite-accept
.page-header.text-centered
h1(ng-non-bindable) #{translate("user_wants_you_to_see_project", {username:owner.first_name, projectname:""})}
br
em(ng-non-bindable) #{project.name}
.row.text-center
.col-md-12
p
| #{translate("accepting_invite_as")} 
em(ng-non-bindable) #{user.email}
.row
.col-md-12
form.form(
data-ol-regular-form
method="POST",
action="/project/"+invite.projectId+"/invite/token/"+invite.token+"/accept"
)
input(name='_csrf', type='hidden', value=csrfToken)
input(name='token', type='hidden', value=invite.token)
.form-group.text-center
button.btn.btn-lg.btn-primary(
type="submit"
data-ol-disabled-inflight
)
span(data-ol-inflight="idle") #{translate("join_project")}
span(hidden data-ol-inflight="pending") #{translate("joining")}…
.form-group.text-center