diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-05-23 11:07:42 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-05-23 11:07:42 +0200 |
commit | cf20596c107eb0833259fa1098cc784267298a19 (patch) | |
tree | 094044145bdae9a840ff1fa5ceb56751528d3826 /client/angular/videos/components/list/video-sort.component.html | |
parent | 8140a704bbbecd149c68267545e4215579c9785c (diff) | |
download | PeerTube-cf20596c107eb0833259fa1098cc784267298a19.tar.gz PeerTube-cf20596c107eb0833259fa1098cc784267298a19.tar.zst PeerTube-cf20596c107eb0833259fa1098cc784267298a19.zip |
Add trivial sort for the client
Diffstat (limited to 'client/angular/videos/components/list/video-sort.component.html')
-rw-r--r-- | client/angular/videos/components/list/video-sort.component.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/client/angular/videos/components/list/video-sort.component.html b/client/angular/videos/components/list/video-sort.component.html new file mode 100644 index 000000000..b1392ccca --- /dev/null +++ b/client/angular/videos/components/list/video-sort.component.html | |||
@@ -0,0 +1,5 @@ | |||
1 | <select [(ngModel)]="currentSort" (ngModelChange)="onSortChange()"> | ||
2 | <option *ngFor="let choice of choiceKeys" [value]="choice"> | ||
3 | {{ getStringChoice(choice) }} | ||
4 | </option> | ||
5 | </select> | ||