Back to Peertube

Process Registration Modal.Component

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

8.2.01.7 KB
Original Source

@if (hasMultipleRegistrations()) { At least one registration email has not been verified. Email delivery has been disabled by default. } @else { The registration email has not been verified. Email delivery has been disabled by default. }

{{ getModalTitle() }}

@if (isAccept()) {

@if (hasMultipleRegistrations()) { Accepting {{ registrations.length }} registrations will create the accounts and channels. } @else { Accepting {{ registration.username }} registration will create the account and channel. }

@if (isEmailEnabled()) { @if (hasUnverifiedEmails()) { } @else {

@if (hasMultipleRegistrations()) { An email will be sent to each user explaining its account has been created with the moderation response you'll write below. } @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 explaining accounts have been created. } } @else if (isReject()) { @if (isEmailEnabled()) { @if (hasUnverifiedEmails()) { } @else {

@if (hasMultipleRegistrations()) { An email will be sent to each user explaining its registration request has been rejected with the moderation response you'll write below. } @else { An email will be sent to {{ registration.email }} explaining its registration request has been rejected 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 explaining registration requests have been rejected. } }

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