diff options
author | Chocobozzz <me@florianbigard.com> | 2020-08-07 16:29:30 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-08-10 09:43:44 +0200 |
commit | 82f443de1aba70ce75c72a4a7f669385600ab3c6 (patch) | |
tree | 198ab1db910b44ad9844c3365d0ec2dec7325778 /client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-elements.component.html | |
parent | 10846ef656585ee857ec43fc22b490409ddd0d44 (diff) | |
download | PeerTube-82f443de1aba70ce75c72a4a7f669385600ab3c6.tar.gz PeerTube-82f443de1aba70ce75c72a4a7f669385600ab3c6.tar.zst PeerTube-82f443de1aba70ce75c72a4a7f669385600ab3c6.zip |
Add buttons in playlist page
To delete/edit/share the playlist
Diffstat (limited to 'client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-elements.component.html')
-rw-r--r-- | client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-elements.component.html | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-elements.component.html b/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-elements.component.html index 2bfdf5c43..09b4c8a1b 100644 --- a/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-elements.component.html +++ b/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-elements.component.html | |||
@@ -5,10 +5,33 @@ | |||
5 | *ngIf="playlist" [playlist]="playlist" [toManage]="false" [displayChannel]="true" | 5 | *ngIf="playlist" [playlist]="playlist" [toManage]="false" [displayChannel]="true" |
6 | [displayDescription]="true" [displayPrivacy]="true" | 6 | [displayDescription]="true" [displayPrivacy]="true" |
7 | ></my-video-playlist-miniature> | 7 | ></my-video-playlist-miniature> |
8 | |||
9 | <div class="playlist-buttons"> | ||
10 | <button (click)="showShareModal()" class="action-button share-button"> | ||
11 | <my-global-icon iconName="share" aria-hidden="true"></my-global-icon> | ||
12 | <span class="icon-text" i18n>Share</span> | ||
13 | </button> | ||
14 | |||
15 | <my-action-dropdown | ||
16 | *ngIf="isRegularPlaylist(playlist)" | ||
17 | [entry]="playlist" [actions]="playlistActions" label="More" | ||
18 | ></my-action-dropdown> | ||
19 | </div> | ||
20 | |||
8 | </div> | 21 | </div> |
9 | 22 | ||
10 | <div class="playlist-elements col-xs-12 col-md-7 col-xl-9"> | 23 | <div class="playlist-elements col-xs-12 col-md-7 col-xl-9"> |
11 | <div i18n class="no-results" *ngIf="pagination.totalItems === 0">No videos in this playlist.</div> | 24 | <div class="no-results" *ngIf="pagination.totalItems === 0"> |
25 | <div i18n>No videos in this playlist.</div> | ||
26 | |||
27 | <div i18n> | ||
28 | Browse videos on PeerTube to add them in your playlist. | ||
29 | </div> | ||
30 | |||
31 | <div i18n> | ||
32 | See the <a target="_blank" href="https://docs.joinpeertube.org/#/use-library?id=playlist">documentation</a> for more information. | ||
33 | </div> | ||
34 | </div> | ||
12 | 35 | ||
13 | <div | 36 | <div |
14 | class="videos" myInfiniteScroller [autoInit]="true" (nearOfBottom)="onNearOfBottom()" | 37 | class="videos" myInfiniteScroller [autoInit]="true" (nearOfBottom)="onNearOfBottom()" |
@@ -24,3 +47,5 @@ | |||
24 | </div> | 47 | </div> |
25 | </div> | 48 | </div> |
26 | </div> | 49 | </div> |
50 | |||
51 | <my-video-share #videoShareModal [playlist]="playlist"></my-video-share> | ||