diff options
author | Chocobozzz <me@florianbigard.com> | 2021-10-27 11:54:48 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2021-10-29 11:48:21 +0200 |
commit | e4611b54910d8e7f2b4f8a97ee2d9cc8e1054127 (patch) | |
tree | d9c05d444d8b4443be26ba11a6304f985a28e836 /client/src/app/+my-library | |
parent | 33f6dce136ca6e969fe374efa099bee3f2a3599d (diff) | |
download | PeerTube-e4611b54910d8e7f2b4f8a97ee2d9cc8e1054127.tar.gz PeerTube-e4611b54910d8e7f2b4f8a97ee2d9cc8e1054127.tar.zst PeerTube-e4611b54910d8e7f2b4f8a97ee2d9cc8e1054127.zip |
Always use my-table-expander-icon
Diffstat (limited to 'client/src/app/+my-library')
-rw-r--r-- | client/src/app/+my-library/my-library.module.ts | 6 | ||||
-rw-r--r-- | client/src/app/+my-library/my-video-imports/my-video-imports.component.html | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/client/src/app/+my-library/my-library.module.ts b/client/src/app/+my-library/my-library.module.ts index 360c53589..bfafcb3e4 100644 --- a/client/src/app/+my-library/my-library.module.ts +++ b/client/src/app/+my-library/my-library.module.ts | |||
@@ -8,12 +8,14 @@ import { SharedGlobalIconModule } from '@app/shared/shared-icons' | |||
8 | import { SharedMainModule } from '@app/shared/shared-main' | 8 | import { SharedMainModule } from '@app/shared/shared-main' |
9 | import { SharedModerationModule } from '@app/shared/shared-moderation' | 9 | import { SharedModerationModule } from '@app/shared/shared-moderation' |
10 | import { SharedShareModal } from '@app/shared/shared-share-modal' | 10 | import { SharedShareModal } from '@app/shared/shared-share-modal' |
11 | import { SharedTablesModule } from '@app/shared/shared-tables' | ||
11 | import { SharedUserInterfaceSettingsModule } from '@app/shared/shared-user-settings' | 12 | import { SharedUserInterfaceSettingsModule } from '@app/shared/shared-user-settings' |
12 | import { SharedUserSubscriptionModule } from '@app/shared/shared-user-subscription/shared-user-subscription.module' | 13 | import { SharedUserSubscriptionModule } from '@app/shared/shared-user-subscription/shared-user-subscription.module' |
13 | import { SharedVideoLiveModule } from '@app/shared/shared-video-live' | 14 | import { SharedVideoLiveModule } from '@app/shared/shared-video-live' |
14 | import { SharedVideoMiniatureModule } from '@app/shared/shared-video-miniature' | 15 | import { SharedVideoMiniatureModule } from '@app/shared/shared-video-miniature' |
15 | import { SharedVideoPlaylistModule } from '@app/shared/shared-video-playlist/shared-video-playlist.module' | 16 | import { SharedVideoPlaylistModule } from '@app/shared/shared-video-playlist/shared-video-playlist.module' |
16 | import { SharedActorImageModule } from '../shared/shared-actor-image/shared-actor-image.module' | 17 | import { SharedActorImageModule } from '../shared/shared-actor-image/shared-actor-image.module' |
18 | import { MyFollowersComponent } from './my-follows/my-followers.component' | ||
17 | import { MySubscriptionsComponent } from './my-follows/my-subscriptions.component' | 19 | import { MySubscriptionsComponent } from './my-follows/my-subscriptions.component' |
18 | import { MyHistoryComponent } from './my-history/my-history.component' | 20 | import { MyHistoryComponent } from './my-history/my-history.component' |
19 | import { MyLibraryRoutingModule } from './my-library-routing.module' | 21 | import { MyLibraryRoutingModule } from './my-library-routing.module' |
@@ -27,7 +29,6 @@ import { MyVideoPlaylistUpdateComponent } from './my-video-playlists/my-video-pl | |||
27 | import { MyVideoPlaylistsComponent } from './my-video-playlists/my-video-playlists.component' | 29 | import { MyVideoPlaylistsComponent } from './my-video-playlists/my-video-playlists.component' |
28 | import { VideoChangeOwnershipComponent } from './my-videos/modals/video-change-ownership.component' | 30 | import { VideoChangeOwnershipComponent } from './my-videos/modals/video-change-ownership.component' |
29 | import { MyVideosComponent } from './my-videos/my-videos.component' | 31 | import { MyVideosComponent } from './my-videos/my-videos.component' |
30 | import { MyFollowersComponent } from './my-follows/my-followers.component' | ||
31 | 32 | ||
32 | @NgModule({ | 33 | @NgModule({ |
33 | imports: [ | 34 | imports: [ |
@@ -48,7 +49,8 @@ import { MyFollowersComponent } from './my-follows/my-followers.component' | |||
48 | SharedAbuseListModule, | 49 | SharedAbuseListModule, |
49 | SharedShareModal, | 50 | SharedShareModal, |
50 | SharedVideoLiveModule, | 51 | SharedVideoLiveModule, |
51 | SharedActorImageModule | 52 | SharedActorImageModule, |
53 | SharedTablesModule | ||
52 | ], | 54 | ], |
53 | 55 | ||
54 | declarations: [ | 56 | declarations: [ |
diff --git a/client/src/app/+my-library/my-video-imports/my-video-imports.component.html b/client/src/app/+my-library/my-video-imports/my-video-imports.component.html index 9ae85c0ca..3897eb162 100644 --- a/client/src/app/+my-library/my-video-imports/my-video-imports.component.html +++ b/client/src/app/+my-library/my-video-imports/my-video-imports.component.html | |||
@@ -23,10 +23,8 @@ | |||
23 | 23 | ||
24 | <ng-template pTemplate="body" let-expanded="expanded" let-videoImport> | 24 | <ng-template pTemplate="body" let-expanded="expanded" let-videoImport> |
25 | <tr> | 25 | <tr> |
26 | <td class="expand-cell c-hand" [pRowToggler]="videoImport" i18n-ngbTooltip ngbTooltip="See the error" placement="top-left" container="body"> | 26 | <td class="expand-cell" [pRowToggler]="videoImport"> |
27 | <span *ngIf="videoImport.error" class="expander"> | 27 | <my-table-expander-icon [expanded]="expanded"></my-table-expander-icon> |
28 | <i [ngClass]="expanded ? 'glyphicon glyphicon-menu-down' : 'glyphicon glyphicon-menu-right'"></i> | ||
29 | </span> | ||
30 | </td> | 28 | </td> |
31 | 29 | ||
32 | <td class="action-cell"> | 30 | <td class="action-cell"> |