mirror of https://github.com/Chocobozzz/PeerTube
Fix support modal title
parent
da69b88638
commit
1f3a605e10
|
@ -1,6 +1,6 @@
|
|||
<ng-template #modal let-hide="close">
|
||||
<div class="modal-header">
|
||||
<h4 i18n class="modal-title">Support {{ user?.account?.displayName }}</h4>
|
||||
<h4 i18n class="modal-title">Support {{ video.account.displayName }}</h4>
|
||||
<my-global-icon iconName="cross" aria-label="Close" role="button" (click)="hide()"></my-global-icon>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@ import { Component, Input, ViewChild } from '@angular/core'
|
|||
import { VideoDetails } from '../../../shared/video/video-details.model'
|
||||
import { NgbModal } from '@ng-bootstrap/ng-bootstrap'
|
||||
import { MarkdownService } from '@app/shared/renderer'
|
||||
import { User } from '@app/shared'
|
||||
|
||||
@Component({
|
||||
selector: 'my-video-support',
|
||||
|
@ -11,7 +10,6 @@ import { User } from '@app/shared'
|
|||
})
|
||||
export class VideoSupportComponent {
|
||||
@Input() video: VideoDetails = null
|
||||
@Input() user: User = null
|
||||
|
||||
@ViewChild('modal', { static: true }) modal: NgbModal
|
||||
|
||||
|
|
|
@ -260,6 +260,6 @@
|
|||
</div>
|
||||
|
||||
<ng-container *ngIf="video !== null">
|
||||
<my-video-support #videoSupportModal [video]="video" [user]="user"></my-video-support>
|
||||
<my-video-support #videoSupportModal [video]="video"></my-video-support>
|
||||
<my-video-share #videoShareModal [video]="video" [videoCaptions]="videoCaptions" [playlist]="playlist"></my-video-share>
|
||||
</ng-container>
|
||||
|
|
Loading…
Reference in New Issue