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-text-field(v-model='link' readonly) v-card-text
v-btn(slot='append' plain text p(v-html='$t(`export.feed_description`)')
v-clipboard:copy='link' v-text-field(v-model='link' readonly)
v-clipboard:success='copyLink') {{$t("common.copy")}} v-btn(slot='append' plain text color='primary'
v-clipboard:copy='link'
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,23 +32,26 @@
v-tab ics/ical v-tab ics/ical
v-tab-item v-tab-item
p(v-html='$t(`export.ical_description`)') v-card
v-text-field(v-model='link') v-card-text
v-btn(slot='append' v-clipboard:copy='link' v-clipboard:success='copyLink') {{$t("common.copy")}} p(v-html='$t(`export.ical_description`)')
v-text-field(v-model='link')
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
p(v-html='$t(`export.list_description`)') v-container
p(v-html='$t(`export.list_description`)')
v-row v-row
v-col.mr-2(:span='11') v-col.mr-2(:span='11')
v-text-field(v-model='list.title') Title v-text-field(v-model='list.title') Title
v-col.float-right(:span='12') v-col.float-right(:span='12')
List( List(
:title='list.title' :title='list.title'
:events='filteredEvents') :events='filteredEvents')
v-text-field.mb-1(type='textarea' v-model='listScript' readonly ) v-text-field.mb-1(type='textarea' v-model='listScript' readonly )
v-btn(plain v-clipboard:copy='listScript' v-clipboard:success='copyLink') {{$t('common.copy')}} v-btn(plain v-clipboard:copy='listScript' v-clipboard:success='copyLink') {{$t('common.copy')}}
//- TOFIX //- TOFIX
//- v-tab.pt-1(label='calendar' name='calendar') //- v-tab.pt-1(label='calendar' name='calendar')
@@ -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) {