diff options
author | Florent <florent.git@zeteo.me> | 2022-10-10 10:20:07 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2022-10-12 08:56:59 +0200 |
commit | 3d5d2deef5e8f26b009723db5addb0dcb90aa71d (patch) | |
tree | de3dd1f7b53142ae4cd865c878da976a741f078b /client | |
parent | dd84f4f2639cd67b8ff8c04423c59667d55180bf (diff) | |
download | PeerTube-3d5d2deef5e8f26b009723db5addb0dcb90aa71d.tar.gz PeerTube-3d5d2deef5e8f26b009723db5addb0dcb90aa71d.tar.zst PeerTube-3d5d2deef5e8f26b009723db5addb0dcb90aa71d.zip |
Sync channel: move the list imports button #5337
Diffstat (limited to 'client')
-rw-r--r-- | client/src/app/+my-library/my-video-channel-syncs/my-video-channel-syncs.component.html | 7 | ||||
-rw-r--r-- | client/src/app/+my-library/my-video-channel-syncs/my-video-channel-syncs.component.ts | 7 |
2 files changed, 7 insertions, 7 deletions
diff --git a/client/src/app/+my-library/my-video-channel-syncs/my-video-channel-syncs.component.html b/client/src/app/+my-library/my-video-channel-syncs/my-video-channel-syncs.component.html index 5f368d430..538bbd178 100644 --- a/client/src/app/+my-library/my-video-channel-syncs/my-video-channel-syncs.component.html +++ b/client/src/app/+my-library/my-video-channel-syncs/my-video-channel-syncs.component.html | |||
@@ -36,7 +36,6 @@ | |||
36 | <th style="width: 10%" i18n pSortableColumn="state">State <p-sortIcon field="state"></p-sortIcon></th> | 36 | <th style="width: 10%" i18n pSortableColumn="state">State <p-sortIcon field="state"></p-sortIcon></th> |
37 | <th style="width: 10%" i18n pSortableColumn="createdAt">Created <p-sortIcon field="createdAt"></p-sortIcon></th> | 37 | <th style="width: 10%" i18n pSortableColumn="createdAt">Created <p-sortIcon field="createdAt"></p-sortIcon></th> |
38 | <th style="width: 10%" i18n pSortableColumn="lastSyncAt">Last synchronization at <p-sortIcon field="lastSyncAt"></p-sortIcon></th> | 38 | <th style="width: 10%" i18n pSortableColumn="lastSyncAt">Last synchronization at <p-sortIcon field="lastSyncAt"></p-sortIcon></th> |
39 | <th></th> | ||
40 | </tr> | 39 | </tr> |
41 | </ng-template> | 40 | </ng-template> |
42 | 41 | ||
@@ -79,12 +78,6 @@ | |||
79 | 78 | ||
80 | <td>{{ videoChannelSync.createdAt | date: 'short' }}</td> | 79 | <td>{{ videoChannelSync.createdAt | date: 'short' }}</td> |
81 | <td>{{ videoChannelSync.lastSyncAt | date: 'short' }}</td> | 80 | <td>{{ videoChannelSync.lastSyncAt | date: 'short' }}</td> |
82 | |||
83 | <td> | ||
84 | <a i18n routerLink="/my-library/video-imports" [queryParams]="{ search: 'videoChannelSyncId:' + videoChannelSync.id }" class="peertube-button-link grey-button"> | ||
85 | List imports | ||
86 | </a> | ||
87 | </td> | ||
88 | </tr> | 81 | </tr> |
89 | </ng-template> | 82 | </ng-template> |
90 | </p-table> | 83 | </p-table> |
diff --git a/client/src/app/+my-library/my-video-channel-syncs/my-video-channel-syncs.component.ts b/client/src/app/+my-library/my-video-channel-syncs/my-video-channel-syncs.component.ts index 290847418..5d5cc6dea 100644 --- a/client/src/app/+my-library/my-video-channel-syncs/my-video-channel-syncs.component.ts +++ b/client/src/app/+my-library/my-video-channel-syncs/my-video-channel-syncs.component.ts | |||
@@ -46,6 +46,13 @@ export class MyVideoChannelSyncsComponent extends RestTable implements OnInit { | |||
46 | this.videoChannelSyncActions = [ | 46 | this.videoChannelSyncActions = [ |
47 | [ | 47 | [ |
48 | { | 48 | { |
49 | label: $localize`List imports`, | ||
50 | linkBuilder: (videoChannelSync) => [ `/my-library/video-imports?search=videoChannelSyncId:${videoChannelSync.id}` ], | ||
51 | iconName: 'cloud-download' | ||
52 | } | ||
53 | ], | ||
54 | [ | ||
55 | { | ||
49 | label: $localize`Delete`, | 56 | label: $localize`Delete`, |
50 | iconName: 'delete', | 57 | iconName: 'delete', |
51 | handler: videoChannelSync => this.deleteSync(videoChannelSync) | 58 | handler: videoChannelSync => this.deleteSync(videoChannelSync) |