pleroma-fe/src/components/settings_modal/tabs/profile_tab.vue

87 lines
2.4 KiB
Vue
Raw Normal View History

2020-05-03 17:36:12 +03:00
<template>
2020-05-25 03:43:55 +03:00
<div class="profile-tab">
2025-08-05 14:43:37 +03:00
<div class="setting-item profile-edit">
<UserCard
:user-id="user.id"
:editable="true"
:switcher="false"
2025-08-05 15:17:07 +03:00
/>
2025-08-05 14:43:37 +03:00
</div>
<div class="setting-item">
2025-11-24 20:05:38 +02:00
<h3>{{ $t('settings.account_privacy') }}</h3>
<ul class="setting-list">
<li>
2025-08-04 13:48:09 +03:00
<Checkbox v-model="locked">
{{ $t('settings.lock_account_description') }}
2025-08-04 13:48:09 +03:00
</Checkbox>
<ProfileSettingIndicator :is-profile="true" />
</li>
<li>
2023-03-12 17:28:14 +02:00
<BooleanSetting
source="profile"
path="discoverable"
>
{{ $t('settings.discoverable') }}
</BooleanSetting>
</li>
<li>
2023-03-12 17:28:14 +02:00
<BooleanSetting
source="profile"
path="allowFollowingMove"
>
{{ $t('settings.allow_following_move') }}
</BooleanSetting>
</li>
<li>
2023-03-12 17:28:14 +02:00
<BooleanSetting
source="profile"
path="hideFavorites"
>
{{ $t('settings.hide_favorites_description') }}
</BooleanSetting>
</li>
<li>
2023-03-12 17:28:14 +02:00
<BooleanSetting
source="profile"
path="hideFollowers"
>
{{ $t('settings.hide_followers_description') }}
</BooleanSetting>
<ul class="setting-list suboptions">
<li>
<BooleanSetting
source="profile"
path="hideFollowersCount"
2023-03-12 17:28:14 +02:00
parent-path="hideFollowers"
2022-02-28 18:23:32 +02:00
>
{{ $t('settings.hide_followers_count_description') }}
</BooleanSetting>
</li>
</ul>
</li>
<li>
2023-03-12 17:28:14 +02:00
<BooleanSetting
source="profile"
path="hideFollows"
>
{{ $t('settings.hide_follows_description') }}
</BooleanSetting>
<ul class="setting-list suboptions">
<li>
<BooleanSetting
source="profile"
path="hideFollowsCount"
2023-03-12 17:28:14 +02:00
parent-path="hideFollows"
2022-02-28 18:23:32 +02:00
>
{{ $t('settings.hide_follows_count_description') }}
</BooleanSetting>
</li>
</ul>
</li>
</ul>
</div>
2020-05-03 17:36:12 +03:00
</div>
</template>
<script src="./profile_tab.js"></script>
<style lang="scss" src="./profile_tab.scss"></style>