client/src/app/+admin/overview/users/user-edit/user-edit.component.html
@if (!isCreation() && user) {
{{ user.videosCount }} ({{ user.videoQuotaUsed | bytes: 0 }})
{user.videosCount, plural, =1 {Video} other {Videos}}
{{ user.videoChannels.length || 0 }}
{user.videoChannels.length, plural, =1 {Channel} other {Channels}}
{{ subscribersCount }}
{subscribersCount, plural, =1 {Subscriber} other {Subscribers}}
{{ user.abusesCount }}
Incriminated in reports
{{ user.abusesAcceptedCount }} / {{ user.abusesCreatedCount }}
Authored reports accepted
{{ user.videoCommentsCount }}
{user.videoCommentsCount, plural, =1 {Comment} other {Comments}}
}@if (error) { {{ error }}}
@if (isCreation()) {
} @else if (user) {
}
@if (isCreation()) { Username @if (formErrors.username) { {{ formErrors.username }} } } @if (isCreation()) { Channel name @if (formErrors.channelName) { {{ formErrors.channelName }} } } Email @if (formErrors.email) { {{ formErrors.email }} } @if (isCreation()) { Password @if (isPasswordOptional()) { If you leave the password empty, an email will be sent to the user. } } Role @for (role of roles; track role) { {{ role.label }} } @if (formErrors.role) { {{ formErrors.role }} }
Video quota @if (formErrors.videoQuota) { {{ formErrors.videoQuota }} }
Daily video quota @if (formErrors.videoQuotaDaily) { {{ formErrors.videoQuotaDaily }} } @if (!isCreation() && getAuthPlugins().length !== 0) { Auth plugin None (local authentication) @for (authPlugin of getAuthPlugins(); track authPlugin) { {{ authPlugin }} }
} Enable this checkbox if this user doesn't need to have its videos reviewed by moderators.
@if (displayTokenSessions()) {
} @if (displayPasswordZone()) {
Send a link to reset the password by email to the user Ask for new password
Manually set the user password
@if (user.twoFactorEnabled) {
This user has two factor authentication enabled Disable two factor authentication }
}