diff options
author | Chocobozzz <me@florianbigard.com> | 2019-09-05 10:30:51 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-09-05 10:30:51 +0200 |
commit | 5819e694ba238b5e4ee97347c6cf5ee7a82725b5 (patch) | |
tree | 1e598209283df3cf5bec2b53a1c4e2090fc4b8e9 | |
parent | 6051946e444d095cbd845cae2c96e10b74405fdf (diff) | |
download | PeerTube-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.html | 2 | ||||
-rw-r--r-- | server/models/video/video-blacklist.ts | 2 |
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 | |||
5 | import { isVideoBlacklistReasonValid, isVideoBlacklistTypeValid } from '../../helpers/custom-validators/video-blacklist' | 5 | import { isVideoBlacklistReasonValid, isVideoBlacklistTypeValid } from '../../helpers/custom-validators/video-blacklist' |
6 | import { VideoBlacklist, VideoBlacklistType } from '../../../shared/models/videos' | 6 | import { VideoBlacklist, VideoBlacklistType } from '../../../shared/models/videos' |
7 | import { CONSTRAINTS_FIELDS } from '../../initializers/constants' | 7 | import { CONSTRAINTS_FIELDS } from '../../initializers/constants' |
8 | import { FindOptions, literal } from 'sequelize' | 8 | import { FindOptions } from 'sequelize' |
9 | import { ThumbnailModel } from './thumbnail' | 9 | import { ThumbnailModel } from './thumbnail' |
10 | import * as Bluebird from 'bluebird' | 10 | import * as Bluebird from 'bluebird' |
11 | import { MVideoBlacklist, MVideoBlacklistFormattable } from '@server/typings/models' | 11 | import { MVideoBlacklist, MVideoBlacklistFormattable } from '@server/typings/models' |