mirror of https://github.com/Chocobozzz/PeerTube
Sync channel: move the list imports button #5337
parent
dd84f4f263
commit
3d5d2deef5
|
@ -36,7 +36,6 @@
|
||||||
<th style="width: 10%" i18n pSortableColumn="state">State <p-sortIcon field="state"></p-sortIcon></th>
|
<th style="width: 10%" i18n pSortableColumn="state">State <p-sortIcon field="state"></p-sortIcon></th>
|
||||||
<th style="width: 10%" i18n pSortableColumn="createdAt">Created <p-sortIcon field="createdAt"></p-sortIcon></th>
|
<th style="width: 10%" i18n pSortableColumn="createdAt">Created <p-sortIcon field="createdAt"></p-sortIcon></th>
|
||||||
<th style="width: 10%" i18n pSortableColumn="lastSyncAt">Last synchronization at <p-sortIcon field="lastSyncAt"></p-sortIcon></th>
|
<th style="width: 10%" i18n pSortableColumn="lastSyncAt">Last synchronization at <p-sortIcon field="lastSyncAt"></p-sortIcon></th>
|
||||||
<th></th>
|
|
||||||
</tr>
|
</tr>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
|
|
||||||
|
@ -79,12 +78,6 @@
|
||||||
|
|
||||||
<td>{{ videoChannelSync.createdAt | date: 'short' }}</td>
|
<td>{{ videoChannelSync.createdAt | date: 'short' }}</td>
|
||||||
<td>{{ videoChannelSync.lastSyncAt | date: 'short' }}</td>
|
<td>{{ videoChannelSync.lastSyncAt | date: 'short' }}</td>
|
||||||
|
|
||||||
<td>
|
|
||||||
<a i18n routerLink="/my-library/video-imports" [queryParams]="{ search: 'videoChannelSyncId:' + videoChannelSync.id }" class="peertube-button-link grey-button">
|
|
||||||
List imports
|
|
||||||
</a>
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</p-table>
|
</p-table>
|
||||||
|
|
|
@ -44,6 +44,13 @@ export class MyVideoChannelSyncsComponent extends RestTable implements OnInit {
|
||||||
this.initialize()
|
this.initialize()
|
||||||
|
|
||||||
this.videoChannelSyncActions = [
|
this.videoChannelSyncActions = [
|
||||||
|
[
|
||||||
|
{
|
||||||
|
label: $localize`List imports`,
|
||||||
|
linkBuilder: (videoChannelSync) => [ `/my-library/video-imports?search=videoChannelSyncId:${videoChannelSync.id}` ],
|
||||||
|
iconName: 'cloud-download'
|
||||||
|
}
|
||||||
|
],
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
label: $localize`Delete`,
|
label: $localize`Delete`,
|
||||||
|
|
Loading…
Reference in New Issue