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>
|
2022-02-22 23:31:40 +02:00
|
|
|
<div class="setting-item">
|
2025-11-24 20:05:38 +02:00
|
|
|
<h3>{{ $t('settings.account_privacy') }}</h3>
|
2022-02-22 23:31:40 +02:00
|
|
|
<ul class="setting-list">
|
|
|
|
|
<li>
|
2025-08-04 13:48:09 +03:00
|
|
|
<Checkbox v-model="locked">
|
2022-02-22 23:31:40 +02:00
|
|
|
{{ $t('settings.lock_account_description') }}
|
2025-08-04 13:48:09 +03:00
|
|
|
</Checkbox>
|
|
|
|
|
<ProfileSettingIndicator :is-profile="true" />
|
2022-02-22 23:31:40 +02:00
|
|
|
</li>
|
|
|
|
|
<li>
|
2023-03-12 17:28:14 +02:00
|
|
|
<BooleanSetting
|
|
|
|
|
source="profile"
|
|
|
|
|
path="discoverable"
|
|
|
|
|
>
|
2022-02-22 23:31:40 +02:00
|
|
|
{{ $t('settings.discoverable') }}
|
|
|
|
|
</BooleanSetting>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
2023-03-12 17:28:14 +02:00
|
|
|
<BooleanSetting
|
|
|
|
|
source="profile"
|
|
|
|
|
path="allowFollowingMove"
|
|
|
|
|
>
|
2022-02-22 23:31:40 +02:00
|
|
|
{{ $t('settings.allow_following_move') }}
|
|
|
|
|
</BooleanSetting>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
2023-03-12 17:28:14 +02:00
|
|
|
<BooleanSetting
|
|
|
|
|
source="profile"
|
|
|
|
|
path="hideFavorites"
|
|
|
|
|
>
|
2022-02-22 23:31:40 +02:00
|
|
|
{{ $t('settings.hide_favorites_description') }}
|
|
|
|
|
</BooleanSetting>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
2023-03-12 17:28:14 +02:00
|
|
|
<BooleanSetting
|
|
|
|
|
source="profile"
|
|
|
|
|
path="hideFollowers"
|
|
|
|
|
>
|
2022-02-22 23:31:40 +02:00
|
|
|
{{ $t('settings.hide_followers_description') }}
|
|
|
|
|
</BooleanSetting>
|
2023-03-12 14:32:13 +02:00
|
|
|
<ul class="setting-list suboptions">
|
2022-02-22 23:31:40 +02:00
|
|
|
<li>
|
|
|
|
|
<BooleanSetting
|
2023-03-12 14:32:13 +02:00
|
|
|
source="profile"
|
|
|
|
|
path="hideFollowersCount"
|
2023-03-12 17:28:14 +02:00
|
|
|
parent-path="hideFollowers"
|
2022-02-28 18:23:32 +02:00
|
|
|
>
|
2022-02-22 23:31:40 +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"
|
|
|
|
|
>
|
2022-02-22 23:31:40 +02:00
|
|
|
{{ $t('settings.hide_follows_description') }}
|
|
|
|
|
</BooleanSetting>
|
2023-03-12 14:32:13 +02:00
|
|
|
<ul class="setting-list suboptions">
|
2022-02-22 23:31:40 +02:00
|
|
|
<li>
|
|
|
|
|
<BooleanSetting
|
2023-03-12 14:32:13 +02:00
|
|
|
source="profile"
|
|
|
|
|
path="hideFollowsCount"
|
2023-03-12 17:28:14 +02:00
|
|
|
parent-path="hideFollows"
|
2022-02-28 18:23:32 +02:00
|
|
|
>
|
2022-02-22 23:31:40 +02:00
|
|
|
{{ $t('settings.hide_follows_count_description') }}
|
|
|
|
|
</BooleanSetting>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
2020-05-03 17:36:12 +03:00
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
2020-05-10 06:46:06 +03:00
|
|
|
<script src="./profile_tab.js"></script>
|
|
|
|
|
<style lang="scss" src="./profile_tab.scss"></style>
|