aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin
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/+admin
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/+admin')
-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
5 files changed, 9 insertions, 17 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>