diff options
author | Chocobozzz <me@florianbigard.com> | 2021-01-13 10:39:26 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-01-13 10:39:26 +0100 |
commit | 9c1a88e3a1dc2a9d97ba0d798c664234541f1dba (patch) | |
tree | 2ac4074463971e698851bff9c32a79f6e7df5a52 /client/src/app/+admin/users/user-list | |
parent | c9c43612d528d8ff3132efa8d0eb4541ea651f5e (diff) | |
download | PeerTube-9c1a88e3a1dc2a9d97ba0d798c664234541f1dba.tar.gz PeerTube-9c1a88e3a1dc2a9d97ba0d798c664234541f1dba.tar.zst PeerTube-9c1a88e3a1dc2a9d97ba0d798c664234541f1dba.zip |
Move orange admin buttons on the left side
Diffstat (limited to 'client/src/app/+admin/users/user-list')
-rw-r--r-- | client/src/app/+admin/users/user-list/user-list.component.html | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/client/src/app/+admin/users/user-list/user-list.component.html b/client/src/app/+admin/users/user-list/user-list.component.html index b02faef5d..4a09fb392 100644 --- a/client/src/app/+admin/users/user-list/user-list.component.html +++ b/client/src/app/+admin/users/user-list/user-list.component.html | |||
@@ -8,12 +8,17 @@ | |||
8 | > | 8 | > |
9 | <ng-template pTemplate="caption"> | 9 | <ng-template pTemplate="caption"> |
10 | <div class="caption"> | 10 | <div class="caption"> |
11 | <div> | 11 | <div class="left-buttons"> |
12 | <my-action-dropdown | 12 | <my-action-dropdown |
13 | *ngIf="isInSelectionMode()" i18n-label label="Batch actions" theme="orange" | 13 | *ngIf="isInSelectionMode()" i18n-label label="Batch actions" theme="orange" |
14 | [actions]="bulkUserActions" [entry]="selectedUsers" | 14 | [actions]="bulkUserActions" [entry]="selectedUsers" |
15 | > | 15 | > |
16 | </my-action-dropdown> | 16 | </my-action-dropdown> |
17 | |||
18 | <a *ngIf="!isInSelectionMode()" class="add-button" routerLink="/admin/users/create"> | ||
19 | <my-global-icon iconName="user-add" aria-hidden="true"></my-global-icon> | ||
20 | <ng-container i18n>Create user</ng-container> | ||
21 | </a> | ||
17 | </div> | 22 | </div> |
18 | 23 | ||
19 | <div class="ml-auto"> | 24 | <div class="ml-auto"> |
@@ -37,10 +42,6 @@ | |||
37 | </div> | 42 | </div> |
38 | </div> | 43 | </div> |
39 | 44 | ||
40 | <a class="ml-2 add-button" routerLink="/admin/users/create"> | ||
41 | <my-global-icon iconName="user-add" aria-hidden="true"></my-global-icon> | ||
42 | <ng-container i18n>Create user</ng-container> | ||
43 | </a> | ||
44 | </div> | 45 | </div> |
45 | </ng-template> | 46 | </ng-template> |
46 | 47 | ||