cleaning export page

This commit is contained in:
les
2020-10-07 10:08:40 +02:00
parent 20248b7966
commit a4fbcaa2ad

View File

@@ -17,11 +17,14 @@
v-tab {{$t('common.feed')}} v-tab {{$t('common.feed')}}
v-tab-item v-tab-item
span(v-html='$t(`export.feed_description`)') v-card
v-card-text
p(v-html='$t(`export.feed_description`)')
v-text-field(v-model='link' readonly) v-text-field(v-model='link' readonly)
v-btn(slot='append' plain text v-btn(slot='append' plain text color='primary'
v-clipboard:copy='link' v-clipboard:copy='link'
v-clipboard:success='copyLink') {{$t("common.copy")}} v-clipboard:success='copyLink') {{$t("common.copy")}}
v-icon.ml-1 mdi-content-copy
v-tab(v-if='settings.enable_federation') {{$t('common.fediverse')}} v-tab(v-if='settings.enable_federation') {{$t('common.fediverse')}}
v-tab-item v-tab-item
@@ -29,12 +32,15 @@
v-tab ics/ical v-tab ics/ical
v-tab-item v-tab-item
v-card
v-card-text
p(v-html='$t(`export.ical_description`)') p(v-html='$t(`export.ical_description`)')
v-text-field(v-model='link') v-text-field(v-model='link')
v-btn(slot='append' v-clipboard:copy='link' v-clipboard:success='copyLink') {{$t("common.copy")}} v-btn(slot='append' v-clipboard:copy='link' v-clipboard:success='copyLink') {{$t("common.copy")}}
v-tab List v-tab List
v-tab-item v-tab-item
v-container
p(v-html='$t(`export.list_description`)') p(v-html='$t(`export.list_description`)')
v-row v-row
@@ -124,7 +130,7 @@ export default {
methods: { methods: {
copyLink () { copyLink () {
// Message({ message: this.$t('common.copied'), type: 'success', showClose: true }) // Message({ message: this.$t('common.copied'), type: 'success', showClose: true })
this.$root.$emit('message', { message: this.$t('common.feed_url_copied') }) this.$root.$message({ message: this.$t('common.feed_url_copied') })
}, },
add_notification () { add_notification () {
if (!this.notification.email) { if (!this.notification.email) {