]>
Commit | Line | Data |
---|---|---|
39ba2e8e | 1 | <form novalidate [formGroup]="form" (ngSubmit)="formValidated()"> |
660d11e9 RK |
2 | <div class="form-group"> |
3 | <input type="email" | |
4 | formControlName="text" | |
5 | class="form-control" | |
6 | (keyup.control.enter)="onValidKey()" (keyup.meta.enter)="onValidKey()" | |
7 | placeholder="jane_doe@example.com"> | |
8 | </div> | |
39ba2e8e C |
9 | |
10 | <button type="submit" [disabled]="!form.valid" class="btn btn-sm btn-remote-follow" i18n> | |
660d11e9 RK |
11 | <span *ngIf="!interact">Remote subscribe</span> |
12 | <span *ngIf="interact">Remote interact</span> | |
13 | </button> | |
39ba2e8e | 14 | |
421d935d C |
15 | <my-help *ngIf="!interact && showHelp"> |
16 | <ng-template ptTemplate="customHtml"> | |
17 | <ng-container i18n> | |
18 | You can subscribe to the channel via any ActivityPub-capable fediverse instance.<br /><br /> | |
19 | For instance with Mastodon or Pleroma you can type the channel URL in the search box and subscribe there. | |
20 | </ng-container> | |
21 | </ng-template> | |
660d11e9 | 22 | </my-help> |
39ba2e8e | 23 | |
421d935d C |
24 | <my-help *ngIf="showHelp && interact"> |
25 | <ng-template ptTemplate="customHtml"> | |
26 | <ng-container i18n> | |
27 | You can interact with this via any ActivityPub-capable fediverse instance.<br /><br /> | |
28 | For instance with Mastodon or Pleroma you can type the current URL in the search box and interact with it there. | |
29 | </ng-container> | |
30 | </ng-template> | |
660d11e9 | 31 | </my-help> |
421d935d | 32 | </form> |