mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
new admin tabs order
This commit is contained in:
parent
be9b04989c
commit
71e13bd61f
1 changed files with 20 additions and 19 deletions
|
@ -21,17 +21,27 @@ v-container.container.pa-0.pa-md-3
|
||||||
Events(:unconfirmedEvents='unconfirmedEvents'
|
Events(:unconfirmedEvents='unconfirmedEvents'
|
||||||
@confirmed='id => { unconfirmedEvents = unconfirmedEvents.filter(e => e.id !== id)}')
|
@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
|
//- USERS
|
||||||
v-tab(href='#users' v-if='$auth.user.is_admin')
|
v-tab(href='#users' v-if='$auth.user.is_admin')
|
||||||
v-badge(:value='!!unconfirmedUsers.length' :content='unconfirmedUsers.length') {{$t('common.users')}}
|
v-badge(:value='!!unconfirmedUsers.length' :content='unconfirmedUsers.length') {{$t('common.users')}}
|
||||||
v-tab-item(value='users')
|
v-tab-item(value='users')
|
||||||
Users(:users='users' @update='updateUsers')
|
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
|
//- PLACES
|
||||||
v-tab(href='#places' v-if='$auth.user.is_admin') {{$t('common.places')}}
|
v-tab(href='#places' v-if='$auth.user.is_admin') {{$t('common.places')}}
|
||||||
v-tab-item(value='places')
|
v-tab-item(value='places')
|
||||||
|
@ -42,17 +52,17 @@ v-container.container.pa-0.pa-md-3
|
||||||
v-tab-item(value='tags')
|
v-tab-item(value='tags')
|
||||||
Tags
|
Tags
|
||||||
|
|
||||||
|
//- THEME
|
||||||
|
v-tab(href='#theme' v-if='$auth.user.is_admin') {{$t('common.theme')}}
|
||||||
|
v-tab-item(value='theme')
|
||||||
|
Theme
|
||||||
|
|
||||||
//- GEOCODING / MAPS
|
//- GEOCODING / MAPS
|
||||||
v-tab(href='#geolocation' v-if='settings.allow_geolocation && $auth.user.is_admin') {{$t('admin.geolocation')}}
|
v-tab(href='#geolocation' v-if='settings.allow_geolocation && $auth.user.is_admin') {{$t('admin.geolocation')}}
|
||||||
v-tab-item(value='geolocation')
|
v-tab-item(value='geolocation')
|
||||||
client-only(placeholder='Loading...')
|
client-only(placeholder='Loading...')
|
||||||
Geolocation
|
Geolocation
|
||||||
|
|
||||||
//- Collections
|
|
||||||
v-tab(href='#collections' v-if='$auth.user.is_admin') {{$t('common.collections')}}
|
|
||||||
v-tab-item(value='collections')
|
|
||||||
Collections
|
|
||||||
|
|
||||||
//- ANNOUNCEMENTS
|
//- ANNOUNCEMENTS
|
||||||
v-tab(href='#announcements' v-if='$auth.user.is_admin') {{$t('common.announcements')}}
|
v-tab(href='#announcements' v-if='$auth.user.is_admin') {{$t('common.announcements')}}
|
||||||
v-tab-item(value='announcements')
|
v-tab-item(value='announcements')
|
||||||
|
@ -63,15 +73,6 @@ v-container.container.pa-0.pa-md-3
|
||||||
v-tab-item(value='plugins')
|
v-tab-item(value='plugins')
|
||||||
Plugin
|
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
|
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import { mapState } from 'vuex'
|
import { mapState } from 'vuex'
|
||||||
|
|
Loading…
Reference in a new issue