aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+videos
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-07-25 10:45:22 +0200
committerChocobozzz <me@florianbigard.com>2022-07-25 10:45:40 +0200
commit4f50475c67356fb1fecd1de6d2551fdc5ad9a739 (patch)
tree1650e080d1db83d1fee69e5970ca9ee2f488d470 /client/src/app/+videos
parentd65cd16551449216f23d68a6238f7739bab34644 (diff)
downloadPeerTube-4f50475c67356fb1fecd1de6d2551fdc5ad9a739.tar.gz
PeerTube-4f50475c67356fb1fecd1de6d2551fdc5ad9a739.tar.zst
PeerTube-4f50475c67356fb1fecd1de6d2551fdc5ad9a739.zip
Display latest uploaded date for captions
Diffstat (limited to 'client/src/app/+videos')
-rw-r--r--client/src/app/+videos/+video-edit/shared/video-edit.component.html2
-rw-r--r--client/src/app/+videos/+video-edit/shared/video-edit.component.scss7
2 files changed, 5 insertions, 4 deletions
diff --git a/client/src/app/+videos/+video-edit/shared/video-edit.component.html b/client/src/app/+videos/+video-edit/shared/video-edit.component.html
index 650448a74..2892d603d 100644
--- a/client/src/app/+videos/+video-edit/shared/video-edit.component.html
+++ b/client/src/app/+videos/+video-edit/shared/video-edit.component.html
@@ -183,7 +183,7 @@
183 [href]="videoCaption.captionPath" 183 [href]="videoCaption.captionPath"
184 >{{ videoCaption.language.label }}</a> 184 >{{ videoCaption.language.label }}</a>
185 185
186 <div i18n class="caption-entry-state">Already uploaded &#10004;</div> 186 <div i18n class="caption-entry-state">Already uploaded on {{ videoCaption.updatedAt | date }} &#10004;</div>
187 187
188 <span i18n class="caption-entry-edit" (click)="videoCaptionEditModal.show()">Edit</span> 188 <span i18n class="caption-entry-edit" (click)="videoCaptionEditModal.show()">Edit</span>
189 <span i18n class="caption-entry-delete" (click)="deleteCaption(videoCaption)">Delete</span> 189 <span i18n class="caption-entry-delete" (click)="deleteCaption(videoCaption)">Delete</span>
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 e8a6c6e42..a8075cc6d 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
@@ -41,7 +41,6 @@ my-peertube-checkbox {
41 a.caption-entry-label { 41 a.caption-entry-label {
42 @include disable-default-a-behaviour; 42 @include disable-default-a-behaviour;
43 43
44 flex-grow: 1;
45 color: #000; 44 color: #000;
46 45
47 &:hover { 46 &:hover {
@@ -53,11 +52,13 @@ my-peertube-checkbox {
53 @include margin-right(20px); 52 @include margin-right(20px);
54 53
55 font-weight: bold; 54 font-weight: bold;
56 width: 150px; 55 min-width: 100px;
57 } 56 }
58 57
59 .caption-entry-state { 58 .caption-entry-state {
60 width: 200px; 59 @include margin-right(15px);
60
61 min-width: 250px;
61 62
62 &.caption-entry-state-create { 63 &.caption-entry-state-create {
63 color: #39CC0B; 64 color: #39CC0B;