diff options
author | Kim <1877318+kimsible@users.noreply.github.com> | 2020-07-31 11:30:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-31 11:30:57 +0200 |
commit | 30814423ae98b6ac5f7407fc53cffe32aae57124 (patch) | |
tree | 8cc300366fdf2c6dc8e3dfc4c1e6c079dfd11571 /client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.html | |
parent | 8d987ec63e6888c839ad55938d45809869c517c6 (diff) | |
download | PeerTube-30814423ae98b6ac5f7407fc53cffe32aae57124.tar.gz PeerTube-30814423ae98b6ac5f7407fc53cffe32aae57124.tar.zst PeerTube-30814423ae98b6ac5f7407fc53cffe32aae57124.zip |
Improve (accessibility title) and move action-buttons on left in tables (#2980)
* Improve and move action-buttons on left in tables
* Focus on my-delete and my-button
* Correct spaces syntax
* Move user-action dropdown on the left
Co-authored-by: kimsible <kimsible@users.noreply.github.com>
Diffstat (limited to 'client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.html')
-rw-r--r-- | client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.html | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.html b/client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.html index 854126443..1d3a45f76 100644 --- a/client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.html +++ b/client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.html | |||
@@ -13,11 +13,11 @@ | |||
13 | <ng-template pTemplate="header"> | 13 | <ng-template pTemplate="header"> |
14 | <tr> | 14 | <tr> |
15 | <th style="width: 40px;"></th> | 15 | <th style="width: 40px;"></th> |
16 | <th style="width: 70px">Action</th> | ||
16 | <th style="width: 45%" i18n>Target</th> | 17 | <th style="width: 45%" i18n>Target</th> |
17 | <th style="width: 55%" i18n>Video</th> | 18 | <th style="width: 55%" i18n>Video</th> |
18 | <th style="width: 150px" i18n>State</th> | 19 | <th style="width: 150px" i18n>State</th> |
19 | <th style="width: 150px" i18n pSortableColumn="createdAt">Created <p-sortIcon field="createdAt"></p-sortIcon></th> | 20 | <th style="width: 150px" i18n pSortableColumn="createdAt">Created <p-sortIcon field="createdAt"></p-sortIcon></th> |
20 | <th style="width: 70px"></th> | ||
21 | </tr> | 21 | </tr> |
22 | </ng-template> | 22 | </ng-template> |
23 | 23 | ||
@@ -29,6 +29,11 @@ | |||
29 | </span> | 29 | </span> |
30 | </td> | 30 | </td> |
31 | 31 | ||
32 | <td class="action-cell"> | ||
33 | <my-edit-button *ngIf="isVideoImportSuccess(videoImport) && videoImport.video" | ||
34 | [routerLink]="getEditVideoUrl(videoImport.video)"></my-edit-button> | ||
35 | </td> | ||
36 | |||
32 | <td> | 37 | <td> |
33 | <a *ngIf="videoImport.targetUrl; else torrent" [href]="videoImport.targetUrl" target="_blank" rel="noopener noreferrer">{{ videoImport.targetUrl }}</a> | 38 | <a *ngIf="videoImport.targetUrl; else torrent" [href]="videoImport.targetUrl" target="_blank" rel="noopener noreferrer">{{ videoImport.targetUrl }}</a> |
34 | <ng-template #torrent> | 39 | <ng-template #torrent> |
@@ -52,10 +57,6 @@ | |||
52 | </td> | 57 | </td> |
53 | 58 | ||
54 | <td>{{ videoImport.createdAt | date: 'short' }}</td> | 59 | <td>{{ videoImport.createdAt | date: 'short' }}</td> |
55 | |||
56 | <td class="action-cell"> | ||
57 | <my-edit-button label=" " *ngIf="isVideoImportSuccess(videoImport) && videoImport.video" [routerLink]="getEditVideoUrl(videoImport.video)"></my-edit-button> | ||
58 | </td> | ||
59 | </tr> | 60 | </tr> |
60 | </ng-template> | 61 | </ng-template> |
61 | 62 | ||