reorder general settings

This commit is contained in:
les 2021-09-27 10:06:03 +02:00
parent 614057d989
commit cde7af1779
No known key found for this signature in database
GPG key ID: 352918250B012177

View file

@ -3,19 +3,25 @@
v-card-title {{$t('common.settings')}}
v-card-text
v-text-field(v-model='title'
:label="$t('common.title')"
:hint="$t('admin.title_description')"
@blur='save("title", title)'
persistent-hint)
v-text-field.mt-5(v-model='description'
:label="$t('common.description')"
:hint="$t('admin.description_description')"
persistent-hint
@blur='save("description", description)')
//- select timezone
v-autocomplete(v-model='instance_timezone'
v-autocomplete.mt-5(v-model='instance_timezone'
:label="$t('admin.select_instance_timezone')"
:hint="$t('admin.instance_timezone_description')"
:items="filteredTimezones"
persistent-hint
item-text='value'
item-value='value'
placeholder='Timezone, type to search')
template(v-slot:item='{ item }')
v-list-item-content
v-list-item-title {{item.value}}
v-list-item-subtitle {{item.offset}}
v-select.mt-5(
v-model='instance_locale'
@ -25,19 +31,6 @@
:items='locales'
)
v-text-field.mt-5(v-model='title'
:label="$t('common.title')"
:hint="$t('admin.title_description')"
@blur='save("title", title)'
persistent-hint
)
v-text-field.mt-5(v-model='description'
:label="$t('common.description')"
:hint="$t('admin.description_description')"
persistent-hint
@blur='save("description", description)')
v-switch.mt-4(v-model='allow_registration'
inset
:label="$t('admin.allow_registration_description')")