diff options
| author | Shpuld Shpludson <shp@cock.li> | 2019-03-21 15:46:05 +0000 |
|---|---|---|
| committer | Shpuld Shpludson <shp@cock.li> | 2019-03-21 15:46:05 +0000 |
| commit | c2b7aff3257530654e1e7aae39136d1d34d07c4f (patch) | |
| tree | b2fb7b22a8acb10c9a23cd8c9734bec2e008b81f /src/components/remote_follow/remote_follow.vue | |
| parent | 9890e414402ce19ab012d3fc8046bd6af537fd5c (diff) | |
| parent | 96c88b334c2bf19ed1ffc418f0603d49c5a71652 (diff) | |
Merge branch 'issue-444-remote-follow' into 'develop'
#444 - show `remote follow` button when logged out
Closes #444
See merge request pleroma/pleroma-fe!692
Diffstat (limited to 'src/components/remote_follow/remote_follow.vue')
| -rw-r--r-- | src/components/remote_follow/remote_follow.vue | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/components/remote_follow/remote_follow.vue b/src/components/remote_follow/remote_follow.vue new file mode 100644 index 00000000..fb2147bd --- /dev/null +++ b/src/components/remote_follow/remote_follow.vue @@ -0,0 +1,24 @@ +<template> + <div class="remote-follow"> + <form method="POST" :action='subscribeUrl'> + <input type="hidden" name="nickname" :value="user.screen_name"> + <input type="hidden" name="profile" value=""> + <button click="submit" class="remote-button"> + {{ $t('user_card.remote_follow') }} + </button> + </form> + </div> +</template> + +<script src="./remote_follow.js"></script> + +<style lang="scss"> +.remote-follow { + max-width: 220px; + + .remote-button { + width: 100%; + min-height: 28px; + } +} +</style> |
