]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/shared-support-modal/support-modal.component.html
Add support button in channel page
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-support-modal / support-modal.component.html
similarity index 74%
rename from client/src/app/+videos/+video-watch/modal/video-support.component.html
rename to client/src/app/shared/shared-support-modal/support-modal.component.html
index 935656d23af3532aadefac53151bc15f90cb5646..4a967987f4e3608365b39a4320b6bcb46f35918e 100644 (file)
@@ -1,10 +1,10 @@
 <ng-template #modal let-hide="close">
   <div class="modal-header">
-    <h4 i18n class="modal-title">Support {{ video.account.displayName }}</h4>
+    <h4 i18n class="modal-title">Support {{ displayName }}</h4>
     <my-global-icon iconName="cross" aria-label="Close" role="button" (click)="hide()"></my-global-icon>
   </div>
 
-  <div class="modal-body" [innerHTML]="videoHTMLSupport"></div>
+  <div class="modal-body" [innerHTML]="htmlSupport"></div>
 
   <div class="modal-footer inputs">
     <input