overleaf/services/web/app/views/project/invite/show.pug

35 lines
1.1 KiB
Text
Raw Normal View History

extends ../../layout-marketing
2016-07-26 06:46:41 -04:00
block content
main.content.content-alt#main-content
2016-07-26 06:46:41 -04:00
.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}
2016-07-26 06:46:41 -04:00
.row.text-center
.col-md-12
p
2016-07-27 05:56:22 -04:00
| #{translate("accepting_invite_as")} 
em(ng-non-bindable) #{user.email}
2016-07-26 06:46:41 -04:00
.row
.col-md-12
form.form(
data-ol-regular-form
2016-07-26 06:46:41 -04:00
method="POST",
2017-01-31 09:57:22 -05:00
action="/project/"+invite.projectId+"/invite/token/"+invite.token+"/accept"
2016-07-26 06:46:41 -04:00
)
input(name='_csrf', type='hidden', value=csrfToken)
2017-01-31 09:57:22 -05:00
input(name='token', type='hidden', value=invite.token)
2016-07-26 06:46:41 -04:00
.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")}…
2016-07-26 06:46:41 -04:00
.form-group.text-center