Fix new Angular 7 issues
[oweals/peertube.git] / client / src / app / videos / +video-watch / comment / video-comment-add.component.html
index 4a48f4649fb8042b478e46b7916efc5c516968ce..d8a7a78c4b0a9dfb7dc6a100041a0e9405e114e5 100644 (file)
@@ -3,7 +3,7 @@
     <img [src]="getAvatarUrl()" alt="Avatar" />
 
     <div class="form-group">
-      <textarea i18n-placeholder placeholder="Add comment..." autosize
+      <textarea i18n-placeholder placeholder="Add comment..." myAutoResize
                 [readonly]="(user === null) ? true : false"
                 (click)="openVisitorModal($event)"
                 formControlName="text" [ngClass]="{ 'input-error': formErrors['text'] }"
     </span>
     <span class="btn btn-sm mx-3" role="button" (click)="gotoLogin()" i18n>login to comment</span>
     <span i18n>
-      Otherwise you can comment using an account on an ActivityPub-compatible instance:
+      Otherwise you can comment using an account on any ActivityPub-compatible instance.
+      On most platforms, you can find the video by typing its URL in the search bar and then comment it
+      from within the software's interface.
     </span>
-    <my-remote-subscribe [interact]="true" account="{{ uri }}"></my-remote-subscribe>
+    <span i18n>
+      If you have an account on Mastodon or Pleroma, you can open it directly in their interface:
+    </span>
+    <my-remote-subscribe [interact]="true" [account]="getUrl()"></my-remote-subscribe>
   </div>
   <div class="modal-footer inputs">
     <span i18n class="action-button action-button-cancel" role="button" (click)="hideVisitorModal()">