diff --git a/pages/Admin.vue b/pages/Admin.vue index 795e4a61..b77081ca 100644 --- a/pages/Admin.vue +++ b/pages/Admin.vue @@ -21,17 +21,27 @@ v-container.container.pa-0.pa-md-3 Events(:unconfirmedEvents='unconfirmedEvents' @confirmed='id => { unconfirmedEvents = unconfirmedEvents.filter(e => e.id !== id)}') - //- THEME - v-tab(href='#theme' v-if='$auth.user.is_admin') {{$t('common.theme')}} - v-tab-item(value='theme') - Theme - //- USERS v-tab(href='#users' v-if='$auth.user.is_admin') v-badge(:value='!!unconfirmedUsers.length' :content='unconfirmedUsers.length') {{$t('common.users')}} v-tab-item(value='users') Users(:users='users' @update='updateUsers') + //- Collections + v-tab(href='#collections' v-if='$auth.user.is_admin') {{$t('common.collections')}} + v-tab-item(value='collections') + Collections + + //- FEDERATION + v-tab(href='#federation' v-if='$auth.user.is_admin') {{$t('common.federation')}} + v-tab-item(value='federation') + Federation + + //- MODERATION + v-tab(v-if='settings.enable_federation' href='#moderation') {{$t('common.moderation')}} + v-tab-item(value='moderation') + Moderation + //- PLACES v-tab(href='#places' v-if='$auth.user.is_admin') {{$t('common.places')}} v-tab-item(value='places') @@ -42,17 +52,17 @@ v-container.container.pa-0.pa-md-3 v-tab-item(value='tags') Tags + //- THEME + v-tab(href='#theme' v-if='$auth.user.is_admin') {{$t('common.theme')}} + v-tab-item(value='theme') + Theme + //- GEOCODING / MAPS v-tab(href='#geolocation' v-if='settings.allow_geolocation && $auth.user.is_admin') {{$t('admin.geolocation')}} v-tab-item(value='geolocation') client-only(placeholder='Loading...') Geolocation - //- Collections - v-tab(href='#collections' v-if='$auth.user.is_admin') {{$t('common.collections')}} - v-tab-item(value='collections') - Collections - //- ANNOUNCEMENTS v-tab(href='#announcements' v-if='$auth.user.is_admin') {{$t('common.announcements')}} v-tab-item(value='announcements') @@ -63,15 +73,6 @@ v-container.container.pa-0.pa-md-3 v-tab-item(value='plugins') Plugin - //- FEDERATION - v-tab(href='#federation' v-if='$auth.user.is_admin') {{$t('common.federation')}} - v-tab-item(value='federation') - Federation - - //- MODERATION - v-tab(v-if='settings.enable_federation' href='#moderation') {{$t('common.moderation')}} - v-tab-item(value='moderation') - Moderation