From: Chocobozzz Date: Thu, 5 Sep 2019 08:30:51 +0000 (+0200) Subject: Better video publishing notification X-Git-Tag: v2.0.0-rc.1~73 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5819e694ba238b5e4ee97347c6cf5ee7a82725b5;p=oweals%2Fpeertube.git Better video publishing notification --- 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 @@
- {{ notification.video.channel.displayName }} published a new video + {{ notification.video.channel.displayName }} published a new video: {{ notification.video.name }}
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 import { isVideoBlacklistReasonValid, isVideoBlacklistTypeValid } from '../../helpers/custom-validators/video-blacklist' import { VideoBlacklist, VideoBlacklistType } from '../../../shared/models/videos' import { CONSTRAINTS_FIELDS } from '../../initializers/constants' -import { FindOptions, literal } from 'sequelize' +import { FindOptions } from 'sequelize' import { ThumbnailModel } from './thumbnail' import * as Bluebird from 'bluebird' import { MVideoBlacklist, MVideoBlacklistFormattable } from '@server/typings/models'