]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/user-subscription/remote-subscribe.component.html
Generate translations
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / user-subscription / remote-subscribe.component.html
index 3762142f2015d0357679d6530d58ec30abe7316b..59ee1cb046319c583eb6fcef8a5d98db4ab84177 100644 (file)
@@ -1,5 +1,4 @@
-<form novalidate [formGroup]="form" 
-      (ngSubmit)="formValidated()">
+<form novalidate [formGroup]="form" (ngSubmit)="formValidated()">
   <div class="form-group">
     <input type="email"
       formControlName="text"
@@ -7,19 +6,27 @@
       (keyup.control.enter)="onValidKey()" (keyup.meta.enter)="onValidKey()"
       placeholder="jane_doe@example.com">
   </div>
-  <button type="submit"
-    [disabled]="!form.valid"
-    class="btn btn-sm btn-remote-follow"
-    i18n>
+
+  <button type="submit" [disabled]="!form.valid" class="btn btn-sm btn-remote-follow" i18n>
     <span *ngIf="!interact">Remote subscribe</span>
     <span *ngIf="interact">Remote interact</span>
   </button>
-  <my-help *ngIf="!interact && showHelp"
-           helpType="custom"
-           i18n-customHtml customHtml="You can subscribe to the channel via any ActivityPub-capable fediverse instance. For instance with Mastodon or Pleroma you can type the channel URL in the search box and subscribe there.">
+
+  <my-help *ngIf="!interact && showHelp">
+    <ng-template ptTemplate="customHtml">
+      <ng-container i18n>
+        You can subscribe to the channel via any ActivityPub-capable fediverse instance.<br /><br />
+        For instance with Mastodon or Pleroma you can type the channel URL in the search box and subscribe there.
+      </ng-container>
+    </ng-template>
   </my-help>
-  <my-help *ngIf="showHelp && interact"
-           helpType="custom"
-           i18n-customHtml customHtml="You can interact with this via any ActivityPub-capable fediverse instance. For instance with Mastodon or Pleroma you can type the current URL in the search box and interact with it there.">
+
+  <my-help *ngIf="showHelp && interact">
+    <ng-template ptTemplate="customHtml">
+      <ng-container i18n>
+        You can interact with this via any ActivityPub-capable fediverse instance.<br /><br />
+        For instance with Mastodon or Pleroma you can type the current URL in the search box and interact with it there.
+      </ng-container>
+    </ng-template>
   </my-help>
-</form>
\ No newline at end of file
+</form>