diff options
Diffstat (limited to 'client/src/app/shared/shared-video-miniature/abstract-video-list.html')
-rw-r--r-- | client/src/app/shared/shared-video-miniature/abstract-video-list.html | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/client/src/app/shared/shared-video-miniature/abstract-video-list.html b/client/src/app/shared/shared-video-miniature/abstract-video-list.html index 70be78af0..6df589c38 100644 --- a/client/src/app/shared/shared-video-miniature/abstract-video-list.html +++ b/client/src/app/shared/shared-video-miniature/abstract-video-list.html | |||
@@ -9,19 +9,23 @@ | |||
9 | <div class="action-block"> | 9 | <div class="action-block"> |
10 | <my-feed *ngIf="titlePage" [syndicationItems]="syndicationItems"></my-feed> | 10 | <my-feed *ngIf="titlePage" [syndicationItems]="syndicationItems"></my-feed> |
11 | <a [routerLink]="action.routerLink" routerLinkActive="active" *ngFor="let action of actions"> | 11 | <a [routerLink]="action.routerLink" routerLinkActive="active" *ngFor="let action of actions"> |
12 | <button class="btn"> | 12 | <my-button [icon]="action.iconName" [label]="action.label"></my-button> |
13 | <my-global-icon [iconName]="action.iconName" aria-hidden="true"></my-global-icon> | ||
14 | <span>{{ action.label }}</span> | ||
15 | </button> | ||
16 | </a> | 13 | </a> |
17 | </div> | 14 | </div> |
18 | 15 | ||
19 | <div class="moderation-block" *ngIf="displayModerationBlock"> | 16 | <div class="moderation-block" *ngIf="displayModerationBlock"> |
20 | <my-peertube-checkbox | 17 | <div class="c-hand" ngbDropdown container="body" placement="bottom-right auto"> |
21 | (change)="toggleModerationDisplay()" | 18 | <my-global-icon iconName="cog" ngbDropdownToggle></my-global-icon> |
22 | inputName="display-unlisted-private" i18n-labelText labelText="Display unlisted and private videos" | 19 | |
23 | > | 20 | <div role="menu" class="dropdown-menu" ngbDropdownMenu> |
24 | </my-peertube-checkbox> | 21 | <div class="dropdown-item"> |
22 | <my-peertube-checkbox | ||
23 | (change)="toggleModerationDisplay()" | ||
24 | inputName="display-unlisted-private" i18n-labelText labelText="Display unlisted and private videos" | ||
25 | ></my-peertube-checkbox> | ||
26 | </div> | ||
27 | </div> | ||
28 | </div> | ||
25 | </div> | 29 | </div> |
26 | </div> | 30 | </div> |
27 | 31 | ||