FollowMe
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<template lang='pug'>
|
<template lang='pug'>
|
||||||
v-card
|
v-card(color='secondary')
|
||||||
v-card-title(v-text="$t('common.follow_me_title')")
|
v-card-title(v-text="$t('common.follow_me_title')")
|
||||||
v-card-text
|
v-card-text
|
||||||
p(v-html="$t('event.follow_me_description', { title: settings.title, account: `@${settings.instance_name}@${domain}`})")
|
p(v-html="$t('event.follow_me_description', { title: settings.title, account: `@${settings.instance_name}@${domain}`})")
|
||||||
@@ -8,12 +8,12 @@
|
|||||||
:label="$t('common.url')"
|
:label="$t('common.url')"
|
||||||
v-model='instance_hostname')
|
v-model='instance_hostname')
|
||||||
p <img class='instance_thumb' :src="instance.thumbnail"/> {{instance.title}}
|
p <img class='instance_thumb' :src="instance.thumbnail"/> {{instance.title}}
|
||||||
|
|
||||||
v-card-actions
|
v-card-actions
|
||||||
//- a(slot='append' :href='link' target='_blank')
|
|
||||||
v-spacer
|
v-spacer
|
||||||
|
v-btn(v-if='isDialog' color='warning' @click="$emit('close')") {{$t("common.cancel")}}
|
||||||
v-btn(:disabled='(!couldGo || !proceed)'
|
v-btn(:disabled='(!couldGo || !proceed)'
|
||||||
:loading='loading'
|
:loading='loading' color="primary") {{$t("common.follow")}}
|
||||||
color="primary") {{$t("common.follow")}}
|
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import { mapState } from 'vuex'
|
import { mapState } from 'vuex'
|
||||||
@@ -22,6 +22,9 @@ import url from 'url'
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'FollowMe',
|
name: 'FollowMe',
|
||||||
|
props: [
|
||||||
|
{ isDialog: { type: Boolean, default: false }}
|
||||||
|
],
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
instance_hostname: '',
|
instance_hostname: '',
|
||||||
|
|||||||
Reference in New Issue
Block a user