diff options
author | Chocobozzz <me@florianbigard.com> | 2018-12-18 09:31:09 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-12-18 11:35:51 +0100 |
commit | 80bfd33c0bf910e2cfdd3270b14ba9eddd90e2e8 (patch) | |
tree | 80cd14e2f503db64ebec5fcfbb94ce5db25f46c9 /client/src/app/+my-account/my-account-history/my-account-history.component.html | |
parent | 8b9a525a180cc9f3a98c334cc052dcfc8f36dcd4 (diff) | |
download | PeerTube-80bfd33c0bf910e2cfdd3270b14ba9eddd90e2e8.tar.gz PeerTube-80bfd33c0bf910e2cfdd3270b14ba9eddd90e2e8.tar.zst PeerTube-80bfd33c0bf910e2cfdd3270b14ba9eddd90e2e8.zip |
Add history page on client
Diffstat (limited to 'client/src/app/+my-account/my-account-history/my-account-history.component.html')
-rw-r--r-- | client/src/app/+my-account/my-account-history/my-account-history.component.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/client/src/app/+my-account/my-account-history/my-account-history.component.html b/client/src/app/+my-account/my-account-history/my-account-history.component.html new file mode 100644 index 000000000..653b33f89 --- /dev/null +++ b/client/src/app/+my-account/my-account-history/my-account-history.component.html | |||
@@ -0,0 +1,15 @@ | |||
1 | <div i18n *ngIf="pagination.totalItems === 0">You don't have history yet.</div> | ||
2 | |||
3 | <div myInfiniteScroller (nearOfBottom)="onNearOfBottom()" class="videos" #videosElement> | ||
4 | <div *ngFor="let videos of videoPages;" class="videos-page"> | ||
5 | <div class="video" *ngFor="let video of videos"> | ||
6 | <my-video-thumbnail [video]="video"></my-video-thumbnail> | ||
7 | |||
8 | <div class="video-info"> | ||
9 | <a tabindex="-1" class="video-info-name" [routerLink]="['/videos/watch', video.uuid]" [attr.title]="video.name">{{ video.name }}</a> | ||
10 | <span i18n class="video-info-date-views">{{ video.views | myNumberFormatter }} views</span> | ||
11 | <a tabindex="-1" class="video-info-account" [routerLink]="[ '/accounts', video.byAccount ]">{{ video.byAccount }}</a> | ||
12 | </div> | ||
13 | </div> | ||
14 | </div> | ||
15 | </div> | ||