fix(Admin): Move the events tab to the left in the admin panel

fix #312
This commit is contained in:
lesion 2023-11-09 17:01:32 +01:00
parent 1a819f64f8
commit 3658ee2658
No known key found for this signature in database
GPG key ID: 352918250B012177

View file

@ -12,6 +12,13 @@ v-container.container.pa-0.pa-md-3
v-tab-item(value='settings') v-tab-item(value='settings')
Settings Settings
//- EVENTS
v-tab(href='#unconfirmed_events')
v-badge(:value='!!unconfirmedEvents.length' :content='unconfirmedEvents.length') {{$t('common.events')}}
v-tab-item(value='unconfirmed_events')
Events(:unconfirmedEvents='unconfirmedEvents'
@confirmed='id => { unconfirmedEvents = unconfirmedEvents.filter(e => e.id !== id)}')
//- THEME //- THEME
v-tab(href='#theme') {{$t('common.theme')}} v-tab(href='#theme') {{$t('common.theme')}}
v-tab-item(value='theme') v-tab-item(value='theme')
@ -38,20 +45,12 @@ v-container.container.pa-0.pa-md-3
v-tab-item(value='geolocation') v-tab-item(value='geolocation')
client-only(placeholder='Loading...') client-only(placeholder='Loading...')
Geolocation Geolocation
//- Collections //- Collections
v-tab(href='#collections') {{$t('common.collections')}} v-tab(href='#collections') {{$t('common.collections')}}
v-tab-item(value='collections') v-tab-item(value='collections')
Collections Collections
//- EVENTS
v-tab(href='#unconfirmed_events')
v-badge(:value='!!unconfirmedEvents.length' :content='unconfirmedEvents.length') {{$t('common.events')}}
v-tab-item(value='unconfirmed_events')
Events(:unconfirmedEvents='unconfirmedEvents'
@confirmed='id => { unconfirmedEvents = unconfirmedEvents.filter(e => e.id !== id)}')
//- ANNOUNCEMENTS //- ANNOUNCEMENTS
v-tab(href='#announcements') {{$t('common.announcements')}} v-tab(href='#announcements') {{$t('common.announcements')}}
v-tab-item(value='announcements') v-tab-item(value='announcements')