Back to Peertube

Video Channel Edit.Component

client/src/app/+my-library/+my-video-channels/edit/video-channel-edit.component.html

8.1.5707 B
Original Source

Cancel @if (mode === 'update') {

@if (user.isCollaboratingToChannels()) { @if (user.isOwnerOfChannel(videoChannelEdit().apiInfo)) { } @else if (user.isEditorOfChannel(videoChannelEdit().apiInfo)) { } } @if (action.data.collaborate) { @if (action.data.editor) { } @else if (action.data.owner) { } }

} @else {

Create a new channel

} @if (videoChannelEdit()?.apiInfo.id) { Go to the public page } Save

@if (getError()) { {{ getError() }} } @else if (displayFormErrorsMsg && hasFormErrors()) { There are errors in your channel settings. @for (errorRoot of getAllFormErrors(); track errorRoot) { {{ errorRoot.page }} page @for (error of errorRoot.errors; track error) { - {{ error }} }

} }