aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-10-27 11:54:48 +0200
committerChocobozzz <chocobozzz@cpy.re>2021-10-29 11:48:21 +0200
commite4611b54910d8e7f2b4f8a97ee2d9cc8e1054127 (patch)
treed9c05d444d8b4443be26ba11a6304f985a28e836 /client/src/app
parent33f6dce136ca6e969fe374efa099bee3f2a3599d (diff)
downloadPeerTube-e4611b54910d8e7f2b4f8a97ee2d9cc8e1054127.tar.gz
PeerTube-e4611b54910d8e7f2b4f8a97ee2d9cc8e1054127.tar.zst
PeerTube-e4611b54910d8e7f2b4f8a97ee2d9cc8e1054127.zip
Always use my-table-expander-icon
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.html6
-rw-r--r--client/src/app/+admin/moderation/video-block-list/video-block-list.component.html2
-rw-r--r--client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.html6
-rw-r--r--client/src/app/+admin/overview/users/user-list/user-list.component.html6
-rw-r--r--client/src/app/+admin/system/jobs/jobs.component.html6
-rw-r--r--client/src/app/+my-library/my-library.module.ts6
-rw-r--r--client/src/app/+my-library/my-video-imports/my-video-imports.component.html6
-rw-r--r--client/src/app/shared/shared-abuse-list/abuse-list-table.component.html2
8 files changed, 16 insertions, 24 deletions
diff --git a/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.html b/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.html
index f3bcca497..6d6384829 100644
--- a/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.html
+++ b/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.html
@@ -33,10 +33,8 @@
33 33
34 <ng-template pTemplate="body" let-expanded="expanded" let-redundancy> 34 <ng-template pTemplate="body" let-expanded="expanded" let-redundancy>
35 <tr> 35 <tr>
36 <td> 36 <td class="expand-cell" [pRowToggler]="redundancy">
37 <span class="expander" i18n-ngbTooltip ngbTooltip="List redundancies" [pRowToggler]="redundancy"> 37 <my-table-expander-icon i18n-ngbTooltip ngbTooltip="List redundancies" [expanded]="expanded"></my-table-expander-icon>
38 <i [ngClass]="expanded ? 'glyphicon glyphicon-menu-down' : 'glyphicon glyphicon-menu-right'"></i>
39 </span>
40 </td> 38 </td>
41 39
42 <td class="action-cell"> 40 <td class="action-cell">
diff --git a/client/src/app/+admin/moderation/video-block-list/video-block-list.component.html b/client/src/app/+admin/moderation/video-block-list/video-block-list.component.html
index 3cd69cfbc..0a7f56e6e 100644
--- a/client/src/app/+admin/moderation/video-block-list/video-block-list.component.html
+++ b/client/src/app/+admin/moderation/video-block-list/video-block-list.component.html
@@ -33,7 +33,7 @@
33 <ng-template pTemplate="body" let-videoBlock let-expanded="expanded"> 33 <ng-template pTemplate="body" let-videoBlock let-expanded="expanded">
34 <tr> 34 <tr>
35 <td *ngIf="!videoBlock.reason"></td> 35 <td *ngIf="!videoBlock.reason"></td>
36 <td *ngIf="videoBlock.reason" class="expand-cell c-hand" [pRowToggler]="videoBlock" i18n-ngbTooltip ngbTooltip="More information" placement="top-left" container="body"> 36 <td class="expand-cell" *ngIf="videoBlock.reason" [pRowToggler]="videoBlock">
37 <my-table-expander-icon [expanded]="expanded"></my-table-expander-icon> 37 <my-table-expander-icon [expanded]="expanded"></my-table-expander-icon>
38 </td> 38 </td>
39 39
diff --git a/client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.html b/client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.html
index 0fd0588ba..514d77709 100644
--- a/client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.html
+++ b/client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.html
@@ -53,10 +53,8 @@
53 <p-tableCheckbox [value]="videoComment" ariaLabel="Select this row" i18n-ariaLabel></p-tableCheckbox> 53 <p-tableCheckbox [value]="videoComment" ariaLabel="Select this row" i18n-ariaLabel></p-tableCheckbox>
54 </td> 54 </td>
55 55
56 <td class="expand-cell c-hand" [pRowToggler]="videoComment" i18n-ngbTooltip ngbTooltip="More information" placement="top-left" container="body"> 56 <td class="expand-cell" [pRowToggler]="videoComment">
57 <span class="expander"> 57 <my-table-expander-icon i18n-ngbTooltip ngbTooltip="See full comment" [expanded]="expanded"></my-table-expander-icon>
58 <i [ngClass]="expanded ? 'glyphicon glyphicon-menu-down' : 'glyphicon glyphicon-menu-right'"></i>
59 </span>
60 </td> 58 </td>
61 59
62 <td class="action-cell"> 60 <td class="action-cell">
diff --git a/client/src/app/+admin/overview/users/user-list/user-list.component.html b/client/src/app/+admin/overview/users/user-list/user-list.component.html
index a96dbd7f8..adf15181a 100644
--- a/client/src/app/+admin/overview/users/user-list/user-list.component.html
+++ b/client/src/app/+admin/overview/users/user-list/user-list.component.html
@@ -79,10 +79,8 @@
79 <p-tableCheckbox [value]="user" ariaLabel="Select this row" i18n-ariaLabel></p-tableCheckbox> 79 <p-tableCheckbox [value]="user" ariaLabel="Select this row" i18n-ariaLabel></p-tableCheckbox>
80 </td> 80 </td>
81 81
82 <td class="expand-cell" [ngClass]="{ 'empty-cell': !user.blockedReason }"> 82 <td class="expand-cell" [ngClass]="{ 'empty-cell': !user.blockedReason }" [pRowToggler]="user">
83 <span *ngIf="user.blockedReason" class="expander" [pRowToggler]="user"> 83 <my-table-expander-icon *ngIf="user.blockedReason" [expanded]="expanded"></my-table-expander-icon>
84 <i [ngClass]="expanded ? 'glyphicon glyphicon-menu-down' : 'glyphicon glyphicon-menu-right'"></i>
85 </span>
86 </td> 84 </td>
87 85
88 <td class="action-cell"> 86 <td class="action-cell">
diff --git a/client/src/app/+admin/system/jobs/jobs.component.html b/client/src/app/+admin/system/jobs/jobs.component.html
index 5701172cb..406dc0fe5 100644
--- a/client/src/app/+admin/system/jobs/jobs.component.html
+++ b/client/src/app/+admin/system/jobs/jobs.component.html
@@ -53,10 +53,8 @@
53 53
54 <ng-template pTemplate="body" let-expanded="expanded" let-job> 54 <ng-template pTemplate="body" let-expanded="expanded" let-job>
55 <tr> 55 <tr>
56 <td class="expand-cell c-hand" [pRowToggler]="job" i18n-ngbTooltip ngbTooltip="More information" placement="top-left" container="body"> 56 <td class="expand-cell" [pRowToggler]="job">
57 <span class="expander"> 57 <my-table-expander-icon [expanded]="expanded"></my-table-expander-icon>
58 <i [ngClass]="expanded ? 'glyphicon glyphicon-menu-down' : 'glyphicon glyphicon-menu-right'"></i>
59 </span>
60 </td> 58 </td>
61 59
62 <td class="job-id c-hand" [pRowToggler]="job" [title]="job.id">{{ job.id }}</td> 60 <td class="job-id c-hand" [pRowToggler]="job" [title]="job.id">{{ job.id }}</td>
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'
8import { SharedMainModule } from '@app/shared/shared-main' 8import { SharedMainModule } from '@app/shared/shared-main'
9import { SharedModerationModule } from '@app/shared/shared-moderation' 9import { SharedModerationModule } from '@app/shared/shared-moderation'
10import { SharedShareModal } from '@app/shared/shared-share-modal' 10import { SharedShareModal } from '@app/shared/shared-share-modal'
11import { SharedTablesModule } from '@app/shared/shared-tables'
11import { SharedUserInterfaceSettingsModule } from '@app/shared/shared-user-settings' 12import { SharedUserInterfaceSettingsModule } from '@app/shared/shared-user-settings'
12import { SharedUserSubscriptionModule } from '@app/shared/shared-user-subscription/shared-user-subscription.module' 13import { SharedUserSubscriptionModule } from '@app/shared/shared-user-subscription/shared-user-subscription.module'
13import { SharedVideoLiveModule } from '@app/shared/shared-video-live' 14import { SharedVideoLiveModule } from '@app/shared/shared-video-live'
14import { SharedVideoMiniatureModule } from '@app/shared/shared-video-miniature' 15import { SharedVideoMiniatureModule } from '@app/shared/shared-video-miniature'
15import { SharedVideoPlaylistModule } from '@app/shared/shared-video-playlist/shared-video-playlist.module' 16import { SharedVideoPlaylistModule } from '@app/shared/shared-video-playlist/shared-video-playlist.module'
16import { SharedActorImageModule } from '../shared/shared-actor-image/shared-actor-image.module' 17import { SharedActorImageModule } from '../shared/shared-actor-image/shared-actor-image.module'
18import { MyFollowersComponent } from './my-follows/my-followers.component'
17import { MySubscriptionsComponent } from './my-follows/my-subscriptions.component' 19import { MySubscriptionsComponent } from './my-follows/my-subscriptions.component'
18import { MyHistoryComponent } from './my-history/my-history.component' 20import { MyHistoryComponent } from './my-history/my-history.component'
19import { MyLibraryRoutingModule } from './my-library-routing.module' 21import { MyLibraryRoutingModule } from './my-library-routing.module'
@@ -27,7 +29,6 @@ import { MyVideoPlaylistUpdateComponent } from './my-video-playlists/my-video-pl
27import { MyVideoPlaylistsComponent } from './my-video-playlists/my-video-playlists.component' 29import { MyVideoPlaylistsComponent } from './my-video-playlists/my-video-playlists.component'
28import { VideoChangeOwnershipComponent } from './my-videos/modals/video-change-ownership.component' 30import { VideoChangeOwnershipComponent } from './my-videos/modals/video-change-ownership.component'
29import { MyVideosComponent } from './my-videos/my-videos.component' 31import { MyVideosComponent } from './my-videos/my-videos.component'
30import { 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">
diff --git a/client/src/app/shared/shared-abuse-list/abuse-list-table.component.html b/client/src/app/shared/shared-abuse-list/abuse-list-table.component.html
index d957eaeab..d0eef7d4b 100644
--- a/client/src/app/shared/shared-abuse-list/abuse-list-table.component.html
+++ b/client/src/app/shared/shared-abuse-list/abuse-list-table.component.html
@@ -29,7 +29,7 @@
29 29
30 <ng-template pTemplate="body" let-expanded="expanded" let-abuse> 30 <ng-template pTemplate="body" let-expanded="expanded" let-abuse>
31 <tr> 31 <tr>
32 <td class="expand-cell c-hand" [pRowToggler]="abuse" i18n-ngbTooltip ngbTooltip="More information" placement="top-left" container="body"> 32 <td class="expand-cell" [pRowToggler]="abuse">
33 <my-table-expander-icon [expanded]="expanded"></my-table-expander-icon> 33 <my-table-expander-icon [expanded]="expanded"></my-table-expander-icon>
34 </td> 34 </td>
35 35