pleroma-fe/src/components/settings_modal/settings_modal_content.vue

74 lines
1.4 KiB
Vue
Raw Normal View History

<template>
<tab-switcher
ref="tabSwitcher"
class="settings_tab-switcher"
:side-tab-bar="true"
:scrollable-tabs="true"
2020-05-27 07:02:36 +10:00
>
<div
:label="$t('settings.general')"
icon="wrench"
2020-05-27 07:02:36 +10:00
>
<GeneralTab />
</div>
<div
v-if="isLoggedIn"
:label="$t('settings.profile_tab')"
icon="user"
2020-05-27 07:02:36 +10:00
>
<ProfileTab />
</div>
<div
v-if="isLoggedIn"
:label="$t('settings.security_tab')"
icon="lock"
2020-05-27 07:02:36 +10:00
>
<SecurityTab />
</div>
<div
:label="$t('settings.filtering')"
icon="filter"
2020-05-27 07:02:36 +10:00
>
<FilteringTab />
</div>
<div
:label="$t('settings.theme')"
icon="brush"
2020-05-27 07:02:36 +10:00
>
<ThemeTab />
</div>
<div
v-if="isLoggedIn"
:label="$t('settings.notifications')"
icon="bell-ringing-o"
2020-05-27 07:02:36 +10:00
>
<NotificationsTab />
</div>
<div
v-if="isLoggedIn"
:label="$t('settings.data_import_export_tab')"
icon="download"
2020-05-27 07:02:36 +10:00
>
<DataImportExportTab />
</div>
<div
v-if="isLoggedIn"
:label="$t('settings.mutes_and_blocks')"
:fullHeight="true"
icon="eye-off"
2020-05-27 07:02:36 +10:00
>
<MutesAndBlocksTab />
</div>
<div
:label="$t('settings.version.title')"
icon="info-circled"
2020-05-27 07:02:36 +10:00
>
<VersionTab />
</div>
</tab-switcher>
</template>
<script src="./settings_modal_content.js"></script>
<style src="./settings_modal_content.scss" lang="scss"></style>