Browse Source

Better video publishing notification

Chocobozzz 2 months ago
parent
commit
5819e694ba
No account linked to committer's email address

+ 1
- 1
client/src/app/shared/users/user-notifications.component.html View File

@@ -8,7 +8,7 @@
8 8
         <img alt="" aria-labelledby="avatar" class="avatar" [src]="notification.video.channel.avatarUrl" />
9 9
 
10 10
         <div class="message">
11
-          {{ notification.video.channel.displayName }} published a <a (click)="markAsRead(notification)" [routerLink]="notification.videoUrl">new video</a>
11
+          {{ notification.video.channel.displayName }} published a new video: <a (click)="markAsRead(notification)" [routerLink]="notification.videoUrl">{{ notification.video.name }}</a>
12 12
         </div>
13 13
       </ng-container>
14 14
 

+ 1
- 1
server/models/video/video-blacklist.ts View File

@@ -5,7 +5,7 @@ import { ScopeNames as VideoChannelScopeNames, SummaryOptions, VideoChannelModel
5 5
 import { isVideoBlacklistReasonValid, isVideoBlacklistTypeValid } from '../../helpers/custom-validators/video-blacklist'
6 6
 import { VideoBlacklist, VideoBlacklistType } from '../../../shared/models/videos'
7 7
 import { CONSTRAINTS_FIELDS } from '../../initializers/constants'
8
-import { FindOptions, literal } from 'sequelize'
8
+import { FindOptions } from 'sequelize'
9 9
 import { ThumbnailModel } from './thumbnail'
10 10
 import * as Bluebird from 'bluebird'
11 11
 import { MVideoBlacklist, MVideoBlacklistFormattable } from '@server/typings/models'

Loading…
Cancel
Save