aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-01-13 22:14:04 +0100
committerRigel Kent <sendmemail@rigelk.eu>2020-01-13 22:14:04 +0100
commit2ba5ac33548b809285025be307960e49e7b3947c (patch)
tree509688111512aa30b319fdfc5b5ba27f00c7f8bd /client/src/app/videos
parenta004ff172638083d69ed1028d18c9b6222d24da6 (diff)
downloadPeerTube-2ba5ac33548b809285025be307960e49e7b3947c.tar.gz
PeerTube-2ba5ac33548b809285025be307960e49e7b3947c.tar.zst
PeerTube-2ba5ac33548b809285025be307960e49e7b3947c.zip
Add link to video in update view and smooth progress bar repositioning
Diffstat (limited to 'client/src/app/videos')
-rw-r--r--client/src/app/videos/+video-edit/shared/video-edit.component.scss9
-rw-r--r--client/src/app/videos/+video-edit/video-update.component.html5
-rw-r--r--client/src/app/videos/+video-edit/video-update.component.ts1
3 files changed, 12 insertions, 3 deletions
diff --git a/client/src/app/videos/+video-edit/shared/video-edit.component.scss b/client/src/app/videos/+video-edit/shared/video-edit.component.scss
index 3d57e9152..144914731 100644
--- a/client/src/app/videos/+video-edit/shared/video-edit.component.scss
+++ b/client/src/app/videos/+video-edit/shared/video-edit.component.scss
@@ -5,6 +5,15 @@
5 @include peertube-select-container(auto); 5 @include peertube-select-container(auto);
6} 6}
7 7
8.title-page a {
9 color: var(--mainForegroundColor);
10
11 &:hover {
12 text-decoration: none;
13 opacity: .8;
14 }
15}
16
8my-peertube-checkbox { 17my-peertube-checkbox {
9 display: block; 18 display: block;
10 margin-bottom: 1rem; 19 margin-bottom: 1rem;
diff --git a/client/src/app/videos/+video-edit/video-update.component.html b/client/src/app/videos/+video-edit/video-update.component.html
index aa148311f..e68c14010 100644
--- a/client/src/app/videos/+video-edit/video-update.component.html
+++ b/client/src/app/videos/+video-edit/video-update.component.html
@@ -1,6 +1,7 @@
1<div class="margin-content"> 1<div class="margin-content">
2 <div i18n class="title-page title-page-single"> 2 <div class="title-page title-page-single">
3 Update {{ video?.name }} 3 <span class="mr-1" i18n>Update</span>
4 <a [routerLink]="[ '/videos/watch', video.uuid ]">{{ video?.name }}</a>
4 </div> 5 </div>
5 6
6 <form novalidate [formGroup]="form"> 7 <form novalidate [formGroup]="form">
diff --git a/client/src/app/videos/+video-edit/video-update.component.ts b/client/src/app/videos/+video-edit/video-update.component.ts
index 6ec187f40..20a607134 100644
--- a/client/src/app/videos/+video-edit/video-update.component.ts
+++ b/client/src/app/videos/+video-edit/video-update.component.ts
@@ -35,7 +35,6 @@ export class VideoUpdateComponent extends FormReactive implements OnInit {
35 private route: ActivatedRoute, 35 private route: ActivatedRoute,
36 private router: Router, 36 private router: Router,
37 private notifier: Notifier, 37 private notifier: Notifier,
38 private serverService: ServerService,
39 private videoService: VideoService, 38 private videoService: VideoService,
40 private loadingBar: LoadingBarService, 39 private loadingBar: LoadingBarService,
41 private videoCaptionService: VideoCaptionService, 40 private videoCaptionService: VideoCaptionService,