diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-06-13 11:56:23 +0200 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2020-06-13 11:56:23 +0200 |
commit | 7dfe35288613967f5ac69cd46901ec60c5050b93 (patch) | |
tree | 1eb4ccdd6f8d62f9f646a29576252578bde39c7f /client/src/app | |
parent | c9e3565dc8d0e5ce0dcbdb4fe8deb7a257d9e2a0 (diff) | |
download | PeerTube-7dfe35288613967f5ac69cd46901ec60c5050b93.tar.gz PeerTube-7dfe35288613967f5ac69cd46901ec60c5050b93.tar.zst PeerTube-7dfe35288613967f5ac69cd46901ec60c5050b93.zip |
replace title with video name in moderation listings
Diffstat (limited to 'client/src/app')
4 files changed, 5 insertions, 4 deletions
diff --git a/client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.html b/client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.html index df15999ec..a2ed51559 100644 --- a/client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.html +++ b/client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.html | |||
@@ -71,7 +71,7 @@ | |||
71 | </td> | 71 | </td> |
72 | 72 | ||
73 | <td *ngIf="!videoAbuse.video.deleted"> | 73 | <td *ngIf="!videoAbuse.video.deleted"> |
74 | <a [href]="getVideoUrl(videoAbuse)" class="video-table-video-link" i18n-title title="Open video in a new tab" target="_blank" rel="noopener noreferrer"> | 74 | <a [href]="getVideoUrl(videoAbuse)" class="video-table-video-link" [title]="videoAbuse.video.name" target="_blank" rel="noopener noreferrer"> |
75 | <div class="video-table-video"> | 75 | <div class="video-table-video"> |
76 | <div class="video-table-video-image"> | 76 | <div class="video-table-video-image"> |
77 | <img [src]="videoAbuse.video.thumbnailPath"> | 77 | <img [src]="videoAbuse.video.thumbnailPath"> |
diff --git a/client/src/app/+admin/moderation/video-block-list/video-block-list.component.html b/client/src/app/+admin/moderation/video-block-list/video-block-list.component.html index f3ec37314..a01a2566d 100644 --- a/client/src/app/+admin/moderation/video-block-list/video-block-list.component.html +++ b/client/src/app/+admin/moderation/video-block-list/video-block-list.component.html | |||
@@ -52,7 +52,7 @@ | |||
52 | </td> | 52 | </td> |
53 | 53 | ||
54 | <td> | 54 | <td> |
55 | <a [href]="getVideoUrl(videoBlock)" class="video-table-video-link" i18n-title title="Open video in a new tab" target="_blank" rel="noopener noreferrer"> | 55 | <a [href]="getVideoUrl(videoBlock)" class="video-table-video-link" [title]="videoBlock.video.name" target="_blank" rel="noopener noreferrer"> |
56 | <div class="video-table-video"> | 56 | <div class="video-table-video"> |
57 | <div class="video-table-video-image"> | 57 | <div class="video-table-video-image"> |
58 | <img [src]="videoBlock.video.thumbnailPath"> | 58 | <img [src]="videoBlock.video.thumbnailPath"> |
diff --git a/client/src/app/shared/video/video-miniature.component.html b/client/src/app/shared/video/video-miniature.component.html index d3b750da8..82afc866f 100644 --- a/client/src/app/shared/video/video-miniature.component.html +++ b/client/src/app/shared/video/video-miniature.component.html | |||
@@ -13,8 +13,8 @@ | |||
13 | <a *ngIf="displayOptions.avatar" class="avatar" [routerLink]="[ '/video-channels', video.byVideoChannel ]" [title]="channelLinkTitle"> | 13 | <a *ngIf="displayOptions.avatar" class="avatar" [routerLink]="[ '/video-channels', video.byVideoChannel ]" [title]="channelLinkTitle"> |
14 | <img [src]="getAvatarUrl()" alt="" /> | 14 | <img [src]="getAvatarUrl()" alt="" /> |
15 | </a> | 15 | </a> |
16 | 16 | ||
17 | <div class="d-flex flex-column"> | 17 | <div class="w-100 d-flex flex-column"> |
18 | <a | 18 | <a |
19 | tabindex="-1" | 19 | tabindex="-1" |
20 | class="video-miniature-name" | 20 | class="video-miniature-name" |
diff --git a/client/src/app/shared/video/video-miniature.component.scss b/client/src/app/shared/video/video-miniature.component.scss index 99bd9c15b..1816192ba 100644 --- a/client/src/app/shared/video/video-miniature.component.scss +++ b/client/src/app/shared/video/video-miniature.component.scss | |||
@@ -28,6 +28,7 @@ $more-margin-right: 15px; | |||
28 | 28 | ||
29 | .video-miniature-name { | 29 | .video-miniature-name { |
30 | @include miniature-name; | 30 | @include miniature-name; |
31 | width: calc(100% - #{$more-button-width}); | ||
31 | } | 32 | } |
32 | 33 | ||
33 | .video-miniature-meta { | 34 | .video-miniature-meta { |