aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-09-05 10:30:51 +0200
committerChocobozzz <me@florianbigard.com>2019-09-05 10:30:51 +0200
commit5819e694ba238b5e4ee97347c6cf5ee7a82725b5 (patch)
tree1e598209283df3cf5bec2b53a1c4e2090fc4b8e9
parent6051946e444d095cbd845cae2c96e10b74405fdf (diff)
downloadPeerTube-5819e694ba238b5e4ee97347c6cf5ee7a82725b5.tar.gz
PeerTube-5819e694ba238b5e4ee97347c6cf5ee7a82725b5.tar.zst
PeerTube-5819e694ba238b5e4ee97347c6cf5ee7a82725b5.zip
Better video publishing notification
-rw-r--r--client/src/app/shared/users/user-notifications.component.html2
-rw-r--r--server/models/video/video-blacklist.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/shared/users/user-notifications.component.html b/client/src/app/shared/users/user-notifications.component.html
index 0702d3b5e..a0f8e6df5 100644
--- a/client/src/app/shared/users/user-notifications.component.html
+++ b/client/src/app/shared/users/user-notifications.component.html
@@ -8,7 +8,7 @@
8 <img alt="" aria-labelledby="avatar" class="avatar" [src]="notification.video.channel.avatarUrl" /> 8 <img alt="" aria-labelledby="avatar" class="avatar" [src]="notification.video.channel.avatarUrl" />
9 9
10 <div class="message"> 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 </div> 12 </div>
13 </ng-container> 13 </ng-container>
14 14
diff --git a/server/models/video/video-blacklist.ts b/server/models/video/video-blacklist.ts
index 533bfe1ad..694983cb3 100644
--- a/server/models/video/video-blacklist.ts
+++ b/server/models/video/video-blacklist.ts
@@ -5,7 +5,7 @@ import { ScopeNames as VideoChannelScopeNames, SummaryOptions, VideoChannelModel
5import { isVideoBlacklistReasonValid, isVideoBlacklistTypeValid } from '../../helpers/custom-validators/video-blacklist' 5import { isVideoBlacklistReasonValid, isVideoBlacklistTypeValid } from '../../helpers/custom-validators/video-blacklist'
6import { VideoBlacklist, VideoBlacklistType } from '../../../shared/models/videos' 6import { VideoBlacklist, VideoBlacklistType } from '../../../shared/models/videos'
7import { CONSTRAINTS_FIELDS } from '../../initializers/constants' 7import { CONSTRAINTS_FIELDS } from '../../initializers/constants'
8import { FindOptions, literal } from 'sequelize' 8import { FindOptions } from 'sequelize'
9import { ThumbnailModel } from './thumbnail' 9import { ThumbnailModel } from './thumbnail'
10import * as Bluebird from 'bluebird' 10import * as Bluebird from 'bluebird'
11import { MVideoBlacklist, MVideoBlacklistFormattable } from '@server/typings/models' 11import { MVideoBlacklist, MVideoBlacklistFormattable } from '@server/typings/models'