mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
fix(Admin): Move the events tab to the left in the admin panel
fix #312
This commit is contained in:
parent
1a819f64f8
commit
3658ee2658
1 changed files with 7 additions and 8 deletions
|
@ -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')
|
||||||
|
|
Loading…
Reference in a new issue