diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-12-04 11:17:08 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-12-04 11:17:08 +0100 |
commit | be44767854709dbf7da4ba37fe4f16ac4e297f08 (patch) | |
tree | 93cc7c992a205f3ea76126b5f3035f3a9440e9a4 /client/src/app/account/account-videos | |
parent | d2cc03aaad62fa6cf1c64622229bcc83f24fccb6 (diff) | |
download | PeerTube-be44767854709dbf7da4ba37fe4f16ac4e297f08.tar.gz PeerTube-be44767854709dbf7da4ba37fe4f16ac4e297f08.tar.zst PeerTube-be44767854709dbf7da4ba37fe4f16ac4e297f08.zip |
Fix lint
Diffstat (limited to 'client/src/app/account/account-videos')
-rw-r--r-- | client/src/app/account/account-videos/account-videos.component.html | 2 | ||||
-rw-r--r-- | client/src/app/account/account-videos/account-videos.component.ts | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/client/src/app/account/account-videos/account-videos.component.html b/client/src/app/account/account-videos/account-videos.component.html index 94b976869..eb0a32fd3 100644 --- a/client/src/app/account/account-videos/account-videos.component.html +++ b/client/src/app/account/account-videos/account-videos.component.html | |||
@@ -8,7 +8,7 @@ | |||
8 | 8 | ||
9 | <div class="video-info"> | 9 | <div class="video-info"> |
10 | <div class="video-info-name">{{ video.name }}</div> | 10 | <div class="video-info-name">{{ video.name }}</div> |
11 | <span class="video-info-date-views">{{ video.createdAt | fromNow }} - {{ video.views | numberFormatter }} views</span> | 11 | <span class="video-info-date-views">{{ video.createdAt | myFromNow }} - {{ video.views | myNumberFormatter }} views</span> |
12 | </div> | 12 | </div> |
13 | 13 | ||
14 | <a class="edit-button" [routerLink]="[ '/videos', video.id, '/edit' ]"> | 14 | <a class="edit-button" [routerLink]="[ '/videos', video.id, '/edit' ]"> |
diff --git a/client/src/app/account/account-videos/account-videos.component.ts b/client/src/app/account/account-videos/account-videos.component.ts index ff945825d..cc28f511a 100644 --- a/client/src/app/account/account-videos/account-videos.component.ts +++ b/client/src/app/account/account-videos/account-videos.component.ts | |||
@@ -1,8 +1,7 @@ | |||
1 | import { Component, OnDestroy, OnInit } from '@angular/core' | 1 | import { Component, OnDestroy, OnInit } from '@angular/core' |
2 | import { AbstractVideoList } from '../../shared/video/abstract-video-list' | 2 | import { ActivatedRoute, Router } from '@angular/router' |
3 | import { ActivatedRoute } from '@angular/router' | ||
4 | import { Router } from '@angular/router' | ||
5 | import { NotificationsService } from 'angular2-notifications' | 3 | import { NotificationsService } from 'angular2-notifications' |
4 | import { AbstractVideoList } from '../../shared/video/abstract-video-list' | ||
6 | import { VideoService } from '../../shared/video/video.service' | 5 | import { VideoService } from '../../shared/video/video.service' |
7 | 6 | ||
8 | @Component({ | 7 | @Component({ |