]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
replace title with video name in moderation listings
authorRigel Kent <sendmemail@rigelk.eu>
Sat, 13 Jun 2020 09:56:23 +0000 (11:56 +0200)
committerRigel Kent <sendmemail@rigelk.eu>
Sat, 13 Jun 2020 09:56:23 +0000 (11:56 +0200)
client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.html
client/src/app/+admin/moderation/video-block-list/video-block-list.component.html
client/src/app/shared/video/video-miniature.component.html
client/src/app/shared/video/video-miniature.component.scss

index df15999ec7365b5daebd88af0c4b522fecbbfc1b..a2ed515594155d1ea23f2714dc51c34c86bd7b60 100644 (file)
@@ -71,7 +71,7 @@
       </td>
 
       <td *ngIf="!videoAbuse.video.deleted">
-        <a [href]="getVideoUrl(videoAbuse)" class="video-table-video-link" i18n-title title="Open video in a new tab" target="_blank" rel="noopener noreferrer">
+        <a [href]="getVideoUrl(videoAbuse)" class="video-table-video-link" [title]="videoAbuse.video.name" target="_blank" rel="noopener noreferrer">
           <div class="video-table-video">
             <div class="video-table-video-image">
               <img [src]="videoAbuse.video.thumbnailPath">
index f3ec373146c6525e6718fe10026eacc931f459bb..a01a2566db9c4baadc019adac134031e297ba512 100644 (file)
@@ -52,7 +52,7 @@
       </td>
 
       <td>
-        <a [href]="getVideoUrl(videoBlock)" class="video-table-video-link" i18n-title title="Open video in a new tab" target="_blank" rel="noopener noreferrer">
+        <a [href]="getVideoUrl(videoBlock)" class="video-table-video-link" [title]="videoBlock.video.name" target="_blank" rel="noopener noreferrer">
           <div class="video-table-video">
             <div class="video-table-video-image">
               <img [src]="videoBlock.video.thumbnailPath">
index d3b750da8a8a1515d0a902c830e0173e8948370d..82afc866f7c16bee802425e95f69dcab91c8018e 100644 (file)
@@ -13,8 +13,8 @@
         <a *ngIf="displayOptions.avatar" class="avatar" [routerLink]="[ '/video-channels', video.byVideoChannel ]" [title]="channelLinkTitle">
           <img [src]="getAvatarUrl()" alt="" />
         </a>
-        
-        <div class="d-flex flex-column">
+
+        <div class="w-100 d-flex flex-column">
           <a
             tabindex="-1"
             class="video-miniature-name"
index 99bd9c15b850b9c3486cc2a8a819dd70d07891b5..1816192bac015732a8b6d50f09239a6bd7baeb7e 100644 (file)
@@ -28,6 +28,7 @@ $more-margin-right: 15px;
 
       .video-miniature-name {
         @include miniature-name;
+        width: calc(100% - #{$more-button-width});
       }
 
       .video-miniature-meta {