]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/videos/+video-watch/comment/video-comment-add.component.html
Merge branch 'release/v1.2.0'
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / +video-watch / comment / video-comment-add.component.html
index 9441edfb11257ce02727ac699649402ca73eeb2a..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'] }"
     <h4 class="modal-title" id="modal-basic-title" i18n>You are one step away from commenting</h4>
     <button type="button" class="close" aria-label="Close" (click)="hideVisitorModal()"></button>
   </div>
-  <div class="modal-body" i18n>
+  <div class="modal-body">
     <span i18n>
       If you have an account on this instance, you can login:
     </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()">