ActivityPub-federated video streaming platform using P2P directly in your web browser
Always use my-table-expander-icon
Chocobozzze4611b54910d
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.htmlindex f3bcca4976..6d6384829f 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 @@<ng-template pTemplate="body" let-expanded="expanded" let-redundancy><tr>- <td>- <span class="expander" i18n-ngbTooltip ngbTooltip="List redundancies" [pRowToggler]="redundancy">- <i [ngClass]="expanded ? 'glyphicon glyphicon-menu-down' : 'glyphicon glyphicon-menu-right'"></i>- </span>+ <td class="expand-cell" [pRowToggler]="redundancy">+ <my-table-expander-icon i18n-ngbTooltip ngbTooltip="List redundancies" [expanded]="expanded"></my-table-expander-icon></td><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.htmlindex 3cd69cfbcd..0a7f56e6ed 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 @@<ng-template pTemplate="body" let-videoBlock let-expanded="expanded"><tr><td *ngIf="!videoBlock.reason"></td>- <td *ngIf="videoBlock.reason" class="expand-cell c-hand" [pRowToggler]="videoBlock" i18n-ngbTooltip ngbTooltip="More information" placement="top-left" container="body">+ <td class="expand-cell" *ngIf="videoBlock.reason" [pRowToggler]="videoBlock"><my-table-expander-icon [expanded]="expanded"></my-table-expander-icon></td>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.htmlindex 0fd0588bac..514d77709a 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 @@<p-tableCheckbox [value]="videoComment" ariaLabel="Select this row" i18n-ariaLabel></p-tableCheckbox></td>- <td class="expand-cell c-hand" [pRowToggler]="videoComment" i18n-ngbTooltip ngbTooltip="More information" placement="top-left" container="body">- <span class="expander">- <i [ngClass]="expanded ? 'glyphicon glyphicon-menu-down' : 'glyphicon glyphicon-menu-right'"></i>- </span>+ <td class="expand-cell" [pRowToggler]="videoComment">+ <my-table-expander-icon i18n-ngbTooltip ngbTooltip="See full comment" [expanded]="expanded"></my-table-expander-icon></td><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.htmlindex a96dbd7f8c..adf15181a4 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 @@<p-tableCheckbox [value]="user" ariaLabel="Select this row" i18n-ariaLabel></p-tableCheckbox></td>- <td class="expand-cell" [ngClass]="{ 'empty-cell': !user.blockedReason }">- <span *ngIf="user.blockedReason" class="expander" [pRowToggler]="user">- <i [ngClass]="expanded ? 'glyphicon glyphicon-menu-down' : 'glyphicon glyphicon-menu-right'"></i>- </span>+ <td class="expand-cell" [ngClass]="{ 'empty-cell': !user.blockedReason }" [pRowToggler]="user">+ <my-table-expander-icon *ngIf="user.blockedReason" [expanded]="expanded"></my-table-expander-icon></td><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.htmlindex 5701172cbe..406dc0fe56 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 @@<ng-template pTemplate="body" let-expanded="expanded" let-job><tr>- <td class="expand-cell c-hand" [pRowToggler]="job" i18n-ngbTooltip ngbTooltip="More information" placement="top-left" container="body">- <span class="expander">- <i [ngClass]="expanded ? 'glyphicon glyphicon-menu-down' : 'glyphicon glyphicon-menu-right'"></i>- </span>+ <td class="expand-cell" [pRowToggler]="job">+ <my-table-expander-icon [expanded]="expanded"></my-table-expander-icon></td><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.tsindex 360c535894..bfafcb3e4c 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'import { SharedMainModule } from '@app/shared/shared-main'import { SharedModerationModule } from '@app/shared/shared-moderation'import { SharedShareModal } from '@app/shared/shared-share-modal'+import { SharedTablesModule } from '@app/shared/shared-tables'import { SharedUserInterfaceSettingsModule } from '@app/shared/shared-user-settings'import { SharedUserSubscriptionModule } from '@app/shared/shared-user-subscription/shared-user-subscription.module'import { SharedVideoLiveModule } from '@app/shared/shared-video-live'import { SharedVideoMiniatureModule } from '@app/shared/shared-video-miniature'import { SharedVideoPlaylistModule } from '@app/shared/shared-video-playlist/shared-video-playlist.module'import { SharedActorImageModule } from '../shared/shared-actor-image/shared-actor-image.module'+import { MyFollowersComponent } from './my-follows/my-followers.component'import { MySubscriptionsComponent } from './my-follows/my-subscriptions.component'import { MyHistoryComponent } from './my-history/my-history.component'import { MyLibraryRoutingModule } from './my-library-routing.module'@@ -27,7 +29,6 @@ import { MyVideoPlaylistUpdateComponent } from './my-video-playlists/my-video-plimport { MyVideoPlaylistsComponent } from './my-video-playlists/my-video-playlists.component'import { VideoChangeOwnershipComponent } from './my-videos/modals/video-change-ownership.component'import { MyVideosComponent } from './my-videos/my-videos.component'-import { MyFollowersComponent } from './my-follows/my-followers.component'@NgModule({imports: [@@ -48,7 +49,8 @@ import { MyFollowersComponent } from './my-follows/my-followers.component'SharedAbuseListModule,SharedShareModal,SharedVideoLiveModule,- SharedActorImageModule+ SharedActorImageModule,+ SharedTablesModule],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.htmlindex 9ae85c0cab..3897eb162c 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 @@<ng-template pTemplate="body" let-expanded="expanded" let-videoImport><tr>- <td class="expand-cell c-hand" [pRowToggler]="videoImport" i18n-ngbTooltip ngbTooltip="See the error" placement="top-left" container="body">- <span *ngIf="videoImport.error" class="expander">- <i [ngClass]="expanded ? 'glyphicon glyphicon-menu-down' : 'glyphicon glyphicon-menu-right'"></i>- </span>+ <td class="expand-cell" [pRowToggler]="videoImport">+ <my-table-expander-icon [expanded]="expanded"></my-table-expander-icon></td><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.htmlindex d957eaeab3..d0eef7d4b2 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 @@<ng-template pTemplate="body" let-expanded="expanded" let-abuse><tr>- <td class="expand-cell c-hand" [pRowToggler]="abuse" i18n-ngbTooltip ngbTooltip="More information" placement="top-left" container="body">+ <td class="expand-cell" [pRowToggler]="abuse"><my-table-expander-icon [expanded]="expanded"></my-table-expander-icon></td>