From: Chocobozzz Date: Wed, 28 Apr 2021 07:45:49 +0000 (+0200) Subject: Rename actor image edit module X-Git-Tag: v3.2.0-rc.1~89 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=ec489ce2f74570f94dffb62266f4ed6f18621b3e;p=github%2FChocobozzz%2FPeerTube.git Rename actor image edit module --- diff --git a/client/src/app/+admin/admin.module.ts b/client/src/app/+admin/admin.module.ts index 8d1c3eadb..97ce8d1b8 100644 --- a/client/src/app/+admin/admin.module.ts +++ b/client/src/app/+admin/admin.module.ts @@ -3,12 +3,13 @@ import { SelectButtonModule } from 'primeng/selectbutton' import { TableModule } from 'primeng/table' import { NgModule } from '@angular/core' import { SharedAbuseListModule } from '@app/shared/shared-abuse-list' -import { SharedActorImageModule } from '@app/shared/shared-actor-image' +import { SharedActorImageEditModule } from '@app/shared/shared-actor-image-edit' import { SharedFormModule } from '@app/shared/shared-forms' import { SharedGlobalIconModule } from '@app/shared/shared-icons' import { SharedMainModule } from '@app/shared/shared-main' import { SharedModerationModule } from '@app/shared/shared-moderation' import { SharedVideoCommentModule } from '@app/shared/shared-video-comment' +import { SharedAccountAvatarModule } from '../shared/shared-account-avatar/shared-account-avatar.module' import { AdminRoutingModule } from './admin-routing.module' import { AdminComponent } from './admin.component' import { @@ -39,7 +40,6 @@ import { JobService, LogsComponent, LogsService, SystemComponent } from './syste import { DebugComponent, DebugService } from './system/debug' import { JobsComponent } from './system/jobs/jobs.component' import { UserCreateComponent, UserListComponent, UserPasswordComponent, UsersComponent, UserUpdateComponent } from './users' -import { SharedAccountAvatarModule } from '../shared/shared-account-avatar/shared-account-avatar.module' @NgModule({ imports: [ @@ -52,7 +52,7 @@ import { SharedAccountAvatarModule } from '../shared/shared-account-avatar/share SharedAbuseListModule, SharedVideoCommentModule, SharedAccountAvatarModule, - SharedActorImageModule, + SharedActorImageEditModule, TableModule, SelectButtonModule, diff --git a/client/src/app/+my-account/my-account.module.ts b/client/src/app/+my-account/my-account.module.ts index 050cd4b34..36df10edc 100644 --- a/client/src/app/+my-account/my-account.module.ts +++ b/client/src/app/+my-account/my-account.module.ts @@ -3,13 +3,14 @@ import { TableModule } from 'primeng/table' import { DragDropModule } from '@angular/cdk/drag-drop' import { NgModule } from '@angular/core' import { SharedAbuseListModule } from '@app/shared/shared-abuse-list' -import { SharedActorImageModule } from '@app/shared/shared-actor-image' +import { SharedActorImageEditModule } from '@app/shared/shared-actor-image-edit' import { SharedFormModule } from '@app/shared/shared-forms' import { SharedGlobalIconModule } from '@app/shared/shared-icons' import { SharedMainModule } from '@app/shared/shared-main' import { SharedModerationModule } from '@app/shared/shared-moderation' import { SharedShareModal } from '@app/shared/shared-share-modal' import { SharedUserInterfaceSettingsModule } from '@app/shared/shared-user-settings' +import { SharedAccountAvatarModule } from '../shared/shared-account-avatar/shared-account-avatar.module' import { MyAccountAbusesListComponent } from './my-account-abuses/my-account-abuses-list.component' import { MyAccountApplicationsComponent } from './my-account-applications/my-account-applications.component' import { MyAccountBlocklistComponent } from './my-account-blocklist/my-account-blocklist.component' @@ -23,7 +24,6 @@ import { MyAccountNotificationPreferencesComponent } from './my-account-settings import { MyAccountProfileComponent } from './my-account-settings/my-account-profile/my-account-profile.component' import { MyAccountSettingsComponent } from './my-account-settings/my-account-settings.component' import { MyAccountComponent } from './my-account.component' -import { SharedAccountAvatarModule } from '../shared/shared-account-avatar/shared-account-avatar.module' @NgModule({ imports: [ @@ -41,7 +41,7 @@ import { SharedAccountAvatarModule } from '../shared/shared-account-avatar/share SharedAbuseListModule, SharedShareModal, SharedAccountAvatarModule, - SharedActorImageModule + SharedActorImageEditModule ], declarations: [ diff --git a/client/src/app/+my-library/+my-video-channels/my-video-channels.module.ts b/client/src/app/+my-library/+my-video-channels/my-video-channels.module.ts index 53557ca02..a23b53ee0 100644 --- a/client/src/app/+my-library/+my-video-channels/my-video-channels.module.ts +++ b/client/src/app/+my-library/+my-video-channels/my-video-channels.module.ts @@ -1,6 +1,6 @@ import { ChartModule } from 'primeng/chart' import { NgModule } from '@angular/core' -import { SharedActorImageModule } from '@app/shared/shared-actor-image' +import { SharedActorImageEditModule } from '@app/shared/shared-actor-image-edit' import { SharedFormModule } from '@app/shared/shared-forms' import { SharedGlobalIconModule } from '@app/shared/shared-icons' import { SharedMainModule } from '@app/shared/shared-main' @@ -18,7 +18,7 @@ import { MyVideoChannelsComponent } from './my-video-channels.component' SharedMainModule, SharedFormModule, SharedGlobalIconModule, - SharedActorImageModule + SharedActorImageEditModule ], declarations: [ diff --git a/client/src/app/shared/shared-actor-image/actor-avatar-edit.component.html b/client/src/app/shared/shared-actor-image-edit/actor-avatar-edit.component.html similarity index 100% rename from client/src/app/shared/shared-actor-image/actor-avatar-edit.component.html rename to client/src/app/shared/shared-actor-image-edit/actor-avatar-edit.component.html diff --git a/client/src/app/shared/shared-actor-image/actor-avatar-edit.component.scss b/client/src/app/shared/shared-actor-image-edit/actor-avatar-edit.component.scss similarity index 100% rename from client/src/app/shared/shared-actor-image/actor-avatar-edit.component.scss rename to client/src/app/shared/shared-actor-image-edit/actor-avatar-edit.component.scss diff --git a/client/src/app/shared/shared-actor-image/actor-avatar-edit.component.ts b/client/src/app/shared/shared-actor-image-edit/actor-avatar-edit.component.ts similarity index 100% rename from client/src/app/shared/shared-actor-image/actor-avatar-edit.component.ts rename to client/src/app/shared/shared-actor-image-edit/actor-avatar-edit.component.ts diff --git a/client/src/app/shared/shared-actor-image/actor-banner-edit.component.html b/client/src/app/shared/shared-actor-image-edit/actor-banner-edit.component.html similarity index 100% rename from client/src/app/shared/shared-actor-image/actor-banner-edit.component.html rename to client/src/app/shared/shared-actor-image-edit/actor-banner-edit.component.html diff --git a/client/src/app/shared/shared-actor-image/actor-banner-edit.component.scss b/client/src/app/shared/shared-actor-image-edit/actor-banner-edit.component.scss similarity index 100% rename from client/src/app/shared/shared-actor-image/actor-banner-edit.component.scss rename to client/src/app/shared/shared-actor-image-edit/actor-banner-edit.component.scss diff --git a/client/src/app/shared/shared-actor-image/actor-banner-edit.component.ts b/client/src/app/shared/shared-actor-image-edit/actor-banner-edit.component.ts similarity index 100% rename from client/src/app/shared/shared-actor-image/actor-banner-edit.component.ts rename to client/src/app/shared/shared-actor-image-edit/actor-banner-edit.component.ts diff --git a/client/src/app/shared/shared-actor-image/actor-image-edit.scss b/client/src/app/shared/shared-actor-image-edit/actor-image-edit.scss similarity index 100% rename from client/src/app/shared/shared-actor-image/actor-image-edit.scss rename to client/src/app/shared/shared-actor-image-edit/actor-image-edit.scss diff --git a/client/src/app/shared/shared-actor-image-edit/index.ts b/client/src/app/shared/shared-actor-image-edit/index.ts new file mode 100644 index 000000000..276b2e2fb --- /dev/null +++ b/client/src/app/shared/shared-actor-image-edit/index.ts @@ -0,0 +1 @@ +export * from './shared-actor-image-edit.module' diff --git a/client/src/app/shared/shared-actor-image/shared-actor-image.module.ts b/client/src/app/shared/shared-actor-image-edit/shared-actor-image-edit.module.ts similarity index 93% rename from client/src/app/shared/shared-actor-image/shared-actor-image.module.ts rename to client/src/app/shared/shared-actor-image-edit/shared-actor-image-edit.module.ts index 6044f9925..c9c6472b9 100644 --- a/client/src/app/shared/shared-actor-image/shared-actor-image.module.ts +++ b/client/src/app/shared/shared-actor-image-edit/shared-actor-image-edit.module.ts @@ -26,4 +26,4 @@ import { ActorBannerEditComponent } from './actor-banner-edit.component' providers: [ ] }) -export class SharedActorImageModule { } +export class SharedActorImageEditModule { } diff --git a/client/src/app/shared/shared-actor-image/index.ts b/client/src/app/shared/shared-actor-image/index.ts deleted file mode 100644 index 18a9038eb..000000000 --- a/client/src/app/shared/shared-actor-image/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './shared-actor-image.module'