From fbdcd4ec9f549b730f8311512bcc0c0b7bc2db0a Mon Sep 17 00:00:00 2001 From: kontrollanten <6680299+kontrollanten@users.noreply.github.com> Date: Thu, 15 Apr 2021 10:01:27 +0200 Subject: [PATCH] Add AccountAvatarComponent (#3965) * refactor(client): create account-avatar component * continue implement account-avatar * fix review comments --- .../src/app/+accounts/accounts.component.html | 2 +- client/src/app/+accounts/accounts.module.ts | 4 +- client/src/app/+admin/admin.module.ts | 2 + .../instance-account-blocklist.component.html | 7 +--- .../video-comment-list.component.html | 8 +--- .../users/user-list/user-list.component.html | 9 +---- .../users/user-list/user-list.component.ts | 4 -- .../src/app/+my-account/my-account.module.ts | 2 + .../src/app/+my-library/my-library.module.ts | 4 +- .../my-ownership/my-ownership.component.html | 7 +--- .../my-ownership/my-ownership.component.ts | 4 -- .../video-channels.component.html | 6 +-- .../+video-channels/video-channels.module.ts | 4 +- .../comment/video-comment-add.component.html | 2 +- .../comment/video-comment-add.component.scss | 4 +- .../comment/video-comment-add.component.ts | 5 --- .../comment/video-comment.component.html | 10 +---- .../comment/video-comment.component.scss | 4 -- .../comment/video-comment.component.ts | 4 -- .../video-avatar-channel.component.html | 14 ++----- .../+video-watch/video-watch.module.ts | 7 +++- client/src/app/app.module.ts | 2 + client/src/app/core/users/user.model.ts | 6 --- client/src/app/menu/menu.component.html | 2 +- client/src/app/menu/menu.component.scss | 4 +- .../abuse-details.component.html | 14 +------ .../abuse-details.component.ts | 4 -- .../abuse-list-table.component.html | 7 +--- .../abuse-list-table.component.ts | 4 -- .../shared-abuse-list.module.ts | 4 +- .../account-avatar.component.html | 8 ++++ .../account-avatar.component.scss | 22 +++++++++++ .../account-avatar.component.ts | 38 +++++++++++++++++++ .../app/shared/shared-account-avatar/index.ts | 2 + .../shared-account-avatar.module.ts | 23 +++++++++++ .../shared/shared-main/video/video.model.ts | 2 - .../account-blocklist.component.html | 7 +--- .../account-blocklist.component.ts | 4 -- .../shared-moderation.module.ts | 4 +- .../video-comment.model.ts | 4 -- .../shared-video-miniature.module.ts | 4 +- .../video-miniature.component.html | 5 ++- .../video-miniature.component.scss | 5 +-- .../video-miniature.component.ts | 2 +- client/src/sass/include/_actor.scss | 4 -- 45 files changed, 149 insertions(+), 145 deletions(-) create mode 100644 client/src/app/shared/shared-account-avatar/account-avatar.component.html create mode 100644 client/src/app/shared/shared-account-avatar/account-avatar.component.scss create mode 100644 client/src/app/shared/shared-account-avatar/account-avatar.component.ts create mode 100644 client/src/app/shared/shared-account-avatar/index.ts create mode 100644 client/src/app/shared/shared-account-avatar/shared-account-avatar.module.ts diff --git a/client/src/app/+accounts/accounts.component.html b/client/src/app/+accounts/accounts.component.html index 1b2c11311..ea7a317eb 100644 --- a/client/src/app/+accounts/accounts.component.html +++ b/client/src/app/+accounts/accounts.component.html @@ -2,7 +2,7 @@