Back to Peertube

Process Registration Modal.Component

client/src/app/+admin/moderation/registration-list/process-registration-modal.component.html

8.1.51.2 KB
Original Source

@if (isAccept()) { Accept {{ registration.username }} registration } @else if (isReject()) { Reject {{ registration.username }} registration }

@if (isAccept()) {

Accepting {{ registration.username }} registration will create the account and channel.

@if (isEmailEnabled()) { @if (!registration.emailVerified) { Registration email has not been verified. Email delivery has been disabled by default. } @else {

An email will be sent to {{ registration.email }} explaining its account has been created with the moderation response you'll write below.

} } @else { Emails are not enabled on this instance so PeerTube won't be able to send an email to {{ registration.email }} explaining its account has been created. } } @else if (isReject()) {

An email will be sent to {{ registration.email }} explaining its registration request has been rejected with the moderation response you'll write below.

@if (!isEmailEnabled()) { Emails are not enabled on this instance so PeerTube won't be able to send an email to {{ registration.email }} explaining its registration request has been rejected. } }

Send a message to the user @if (formErrors.moderationResponse) { {{ formErrors.moderationResponse }} }