diff options
Diffstat (limited to 'client/src/app/shared/user-subscription/remote-subscribe.component.html')
-rw-r--r-- | client/src/app/shared/user-subscription/remote-subscribe.component.html | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/client/src/app/shared/user-subscription/remote-subscribe.component.html b/client/src/app/shared/user-subscription/remote-subscribe.component.html new file mode 100644 index 000000000..3762142f2 --- /dev/null +++ b/client/src/app/shared/user-subscription/remote-subscribe.component.html | |||
@@ -0,0 +1,25 @@ | |||
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> \ No newline at end of file | ||