minor
This commit is contained in:
@@ -39,7 +39,7 @@
|
|||||||
"cors": "^2.8.5",
|
"cors": "^2.8.5",
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"date-fns": "^2.16.1",
|
"date-fns": "^2.16.1",
|
||||||
"dayjs": "^1.10.3",
|
"dayjs": "^1.10.4",
|
||||||
"dompurify": "^2.2.6",
|
"dompurify": "^2.2.6",
|
||||||
"email-templates": "^8.0.3",
|
"email-templates": "^8.0.3",
|
||||||
"express": "^4.17.1",
|
"express": "^4.17.1",
|
||||||
@@ -70,7 +70,7 @@
|
|||||||
"tiptap-extensions": "^1.34.0",
|
"tiptap-extensions": "^1.34.0",
|
||||||
"to-ico": "^1.1.5",
|
"to-ico": "^1.1.5",
|
||||||
"url": "^0.11.0",
|
"url": "^0.11.0",
|
||||||
"v-calendar": "^2.2.0",
|
"v-calendar": "^2.2.1",
|
||||||
"vue-clipboard2": "^0.3.1",
|
"vue-clipboard2": "^0.3.1",
|
||||||
"vue-i18n": "^8.22.4",
|
"vue-i18n": "^8.22.4",
|
||||||
"yargs": "^16.1.1"
|
"yargs": "^16.1.1"
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
<template lang="pug">
|
<template lang="pug">
|
||||||
v-container
|
v-container
|
||||||
p {{$t('export.intro')}}
|
|
||||||
v-card(outlined)
|
v-card(outlined)
|
||||||
v-card-text
|
v-card-text
|
||||||
|
p.text-body-1 {{$t('export.intro')}}
|
||||||
v-row
|
v-row
|
||||||
v-col(cols='4')
|
v-col(:md='2' :cols='12')
|
||||||
v-card-title {{$t('common.filter')}}
|
v-card-title.py-0 {{$t('common.filter')}}
|
||||||
v-col
|
v-col
|
||||||
Search(
|
Search(
|
||||||
:filters='filters'
|
:filters='filters'
|
||||||
@@ -13,15 +13,15 @@
|
|||||||
v-tabs(v-model='type')
|
v-tabs(v-model='type')
|
||||||
|
|
||||||
//- TOFIX
|
//- TOFIX
|
||||||
v-tab {{$t('common.email')}}
|
//- v-tab {{$t('common.email')}}
|
||||||
v-tab-item
|
//- v-tab-item
|
||||||
v-card
|
v-card
|
||||||
v-card-text
|
v-card-text
|
||||||
p(v-html='$t(`export.email_description`)')
|
p(v-html='$t(`export.email_description`)')
|
||||||
v-switch.mt-0(inset :label="$t('notify_on_insert')")
|
v-switch.mt-0(inset :label="$t('notify_on_insert')")
|
||||||
v-switch.mt-0(inset :label="$t('notify_on_morning')")
|
v-switch.mt-0(inset :label="$t('morning_notification')")
|
||||||
v-text-field(v-model='notification.email' :placeholder="$t('export.insert_your_address')" ref='email')
|
v-text-field(v-model='notification.email' :placeholder="$t('export.insert_your_address')" ref='email')
|
||||||
v-btn(slot='prepend' text color='primary' @click='add_notification') {{$t('common.subscribe')}} <v-icon>mdi-email</v-icon>
|
v-btn(slot='prepend' text color='primary' @click='add_notification') {{$t('common.send')}} <v-icon>mdi-email</v-icon>
|
||||||
|
|
||||||
v-tab {{$t('common.feed')}}
|
v-tab {{$t('common.feed')}}
|
||||||
v-tab-item
|
v-tab-item
|
||||||
@@ -64,17 +64,17 @@
|
|||||||
color='primary' v-clipboard:copy='listScript' v-clipboard:success='copyLink') {{$t('common.copy')}}
|
color='primary' v-clipboard:copy='listScript' v-clipboard:success='copyLink') {{$t('common.copy')}}
|
||||||
v-icon.ml-1 mdi-content-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-if='settings.enable_federation')
|
//- v-tab-item(v-if='settings.enable_federation')
|
||||||
FollowMe
|
//- FollowMe
|
||||||
//- TOFIX
|
//- TOFIX
|
||||||
//- v-tab.pt-1(label='calendar' name='calendar')
|
//- v-tab.pt-1(label='calendar' name='calendar')
|
||||||
//- v-tab-item
|
//- v-tab-item
|
||||||
//- p(v-html='$t(`export.calendar_description`)')
|
//- p(v-html='$t(`export.calendar_description`)')
|
||||||
//- //- no-ssr
|
//- //- no-ssr
|
||||||
//- Calendar.mb-1
|
//- Calendar.mb-1
|
||||||
//- v-text-field.mb-1(type='textarea' v-model='script')
|
//- v-text-field.mb-1(type='textarea' v-model='script')
|
||||||
//- el-button.float-right(plain type="primary" icon='el-icon-document') Copy
|
//- el-button.float-right(plain type="primary" icon='el-icon-document') Copy
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
@@ -164,12 +164,13 @@ export default {
|
|||||||
copyLink () {
|
copyLink () {
|
||||||
this.$root.$message('common.feed_url_copied')
|
this.$root.$message('common.feed_url_copied')
|
||||||
},
|
},
|
||||||
add_notification () {
|
async add_notification () {
|
||||||
if (!this.notification.email) {
|
// validate()
|
||||||
// Message({ message: 'Inserisci una mail', showClose: true, type: 'error' })
|
// if (!this.notification.email) {
|
||||||
// return this.$refs.email.focus()
|
// Message({ message: 'Inserisci una mail', showClose: true, type: 'error' })
|
||||||
}
|
// return this.$refs.email.focus()
|
||||||
// await api.addNotification({ ...this.notification, filters: this.filters})
|
// }
|
||||||
|
await api.addNotification({ ...this.notification, filters: this.filters})
|
||||||
// this.$refs.modal.hide()
|
// this.$refs.modal.hide()
|
||||||
// Message({ message: this.$t('email_notification_activated'), showClose: true, type: 'success' })
|
// Message({ message: this.$t('email_notification_activated'), showClose: true, type: 'success' })
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user