]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/shared/user-subscription/remote-subscribe.component.html
3762142f2015d0357679d6530d58ec30abe7316b
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / user-subscription / remote-subscribe.component.html
1 <form novalidate [formGroup]="form"
2 (ngSubmit)="formValidated()">
3 <div class="form-group">
4 <input type="email"
5 formControlName="text"
6 class="form-control"
7 (keyup.control.enter)="onValidKey()" (keyup.meta.enter)="onValidKey()"
8 placeholder="jane_doe@example.com">
9 </div>
10 <button type="submit"
11 [disabled]="!form.valid"
12 class="btn btn-sm btn-remote-follow"
13 i18n>
14 <span *ngIf="!interact">Remote subscribe</span>
15 <span *ngIf="interact">Remote interact</span>
16 </button>
17 <my-help *ngIf="!interact && showHelp"
18 helpType="custom"
19 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.">
20 </my-help>
21 <my-help *ngIf="showHelp && interact"
22 helpType="custom"
23 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.">
24 </my-help>
25 </form>