|
|
@ -177,6 +177,19 @@
|
|
|
|
persistent-hint
|
|
|
|
persistent-hint
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
v-card.mt-5.animated.fadeInUp.wait-p6s
|
|
|
|
|
|
|
|
v-toolbar(color='primary', dark, dense, flat)
|
|
|
|
|
|
|
|
v-toolbar-title.subtitle-1 File Handling
|
|
|
|
|
|
|
|
v-card-text
|
|
|
|
|
|
|
|
v-switch.mt-0(
|
|
|
|
|
|
|
|
inset
|
|
|
|
|
|
|
|
label='Append timestamp to filenames'
|
|
|
|
|
|
|
|
color='indigo'
|
|
|
|
|
|
|
|
v-model='config.uploadAppendTimestampToFilename'
|
|
|
|
|
|
|
|
persistent-hint
|
|
|
|
|
|
|
|
hint='A timestamp will be appended to the end of the original filename to ensure each uploaded file will not overwrite others.'
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
v-card.mt-5.animated.fadeInUp.wait-p7s
|
|
|
|
v-card.mt-5.animated.fadeInUp.wait-p7s
|
|
|
|
v-toolbar(color='primary', dark, dense, flat)
|
|
|
|
v-toolbar(color='primary', dark, dense, flat)
|
|
|
|
v-toolbar-title.subtitle-1 {{$t('admin:general.editShortcuts')}}
|
|
|
|
v-toolbar-title.subtitle-1 {{$t('admin:general.editShortcuts')}}
|
|
|
@ -293,7 +306,8 @@ export default {
|
|
|
|
editMenuExternalBtn: false,
|
|
|
|
editMenuExternalBtn: false,
|
|
|
|
editMenuExternalName: '',
|
|
|
|
editMenuExternalName: '',
|
|
|
|
editMenuExternalIcon: '',
|
|
|
|
editMenuExternalIcon: '',
|
|
|
|
editMenuExternalUrl: ''
|
|
|
|
editMenuExternalUrl: '',
|
|
|
|
|
|
|
|
uploadAppendTimestampToFilename: false
|
|
|
|
},
|
|
|
|
},
|
|
|
|
metaRobots: [
|
|
|
|
metaRobots: [
|
|
|
|
{ text: 'Index', value: 'index' },
|
|
|
|
{ text: 'Index', value: 'index' },
|
|
|
@ -358,6 +372,7 @@ export default {
|
|
|
|
$editMenuExternalName: String
|
|
|
|
$editMenuExternalName: String
|
|
|
|
$editMenuExternalIcon: String
|
|
|
|
$editMenuExternalIcon: String
|
|
|
|
$editMenuExternalUrl: String
|
|
|
|
$editMenuExternalUrl: String
|
|
|
|
|
|
|
|
$uploadAppendTimestampToFilename: Boolean
|
|
|
|
) {
|
|
|
|
) {
|
|
|
|
site {
|
|
|
|
site {
|
|
|
|
updateConfig(
|
|
|
|
updateConfig(
|
|
|
@ -381,6 +396,7 @@ export default {
|
|
|
|
editMenuExternalName: $editMenuExternalName
|
|
|
|
editMenuExternalName: $editMenuExternalName
|
|
|
|
editMenuExternalIcon: $editMenuExternalIcon
|
|
|
|
editMenuExternalIcon: $editMenuExternalIcon
|
|
|
|
editMenuExternalUrl: $editMenuExternalUrl
|
|
|
|
editMenuExternalUrl: $editMenuExternalUrl
|
|
|
|
|
|
|
|
uploadAppendTimestampToFilename: $uploadAppendTimestampToFilename
|
|
|
|
) {
|
|
|
|
) {
|
|
|
|
responseResult {
|
|
|
|
responseResult {
|
|
|
|
succeeded
|
|
|
|
succeeded
|
|
|
@ -412,7 +428,8 @@ export default {
|
|
|
|
editMenuExternalBtn: _.get(this.config, 'editMenuExternalBtn', false),
|
|
|
|
editMenuExternalBtn: _.get(this.config, 'editMenuExternalBtn', false),
|
|
|
|
editMenuExternalName: _.get(this.config, 'editMenuExternalName', ''),
|
|
|
|
editMenuExternalName: _.get(this.config, 'editMenuExternalName', ''),
|
|
|
|
editMenuExternalIcon: _.get(this.config, 'editMenuExternalIcon', ''),
|
|
|
|
editMenuExternalIcon: _.get(this.config, 'editMenuExternalIcon', ''),
|
|
|
|
editMenuExternalUrl: _.get(this.config, 'editMenuExternalUrl', '')
|
|
|
|
editMenuExternalUrl: _.get(this.config, 'editMenuExternalUrl', ''),
|
|
|
|
|
|
|
|
uploadAppendTimestampToFilename: _.get(this.config, 'uploadAppendTimestampToFilename', false)
|
|
|
|
},
|
|
|
|
},
|
|
|
|
watchLoading (isLoading) {
|
|
|
|
watchLoading (isLoading) {
|
|
|
|
this.$store.commit(`loading${isLoading ? 'Start' : 'Stop'}`, 'admin-site-update')
|
|
|
|
this.$store.commit(`loading${isLoading ? 'Start' : 'Stop'}`, 'admin-site-update')
|
|
|
@ -473,6 +490,7 @@ export default {
|
|
|
|
editMenuExternalName
|
|
|
|
editMenuExternalName
|
|
|
|
editMenuExternalIcon
|
|
|
|
editMenuExternalIcon
|
|
|
|
editMenuExternalUrl
|
|
|
|
editMenuExternalUrl
|
|
|
|
|
|
|
|
uploadAppendTimestampToFilename
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|