mirror of https://github.com/Chocobozzz/PeerTube
				
				
				
			Better video publishing notification
							parent
							
								
									6051946e44
								
							
						
					
					
						commit
						5819e694ba
					
				| 
						 | 
				
			
			@ -8,7 +8,7 @@
 | 
			
		|||
        <img alt="" aria-labelledby="avatar" class="avatar" [src]="notification.video.channel.avatarUrl" />
 | 
			
		||||
 | 
			
		||||
        <div class="message">
 | 
			
		||||
          {{ notification.video.channel.displayName }} published a <a (click)="markAsRead(notification)" [routerLink]="notification.videoUrl">new video</a>
 | 
			
		||||
          {{ notification.video.channel.displayName }} published a new video: <a (click)="markAsRead(notification)" [routerLink]="notification.videoUrl">{{ notification.video.name }}</a>
 | 
			
		||||
        </div>
 | 
			
		||||
      </ng-container>
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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'
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue