2020-05-03 07:36:12 -07:00
|
|
|
<template>
|
2020-05-24 17:43:55 -07:00
|
|
|
<div :label="$t('settings.notifications')">
|
|
|
|
<div class="setting-item">
|
|
|
|
<h2>{{ $t('settings.notification_setting_filters') }}</h2>
|
|
|
|
<div class="select-multiple">
|
|
|
|
<span class="label">{{ $t('settings.notification_setting') }}</span>
|
|
|
|
<ul class="option-list">
|
|
|
|
<li>
|
2020-06-26 15:02:17 -07:00
|
|
|
<Checkbox v-model="notificationSettings.block_from_strangers">
|
|
|
|
{{ $t('settings.notification_setting_block_from_strangers') }}
|
2020-05-24 17:43:55 -07:00
|
|
|
</Checkbox>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2020-05-03 07:36:12 -07:00
|
|
|
</div>
|
2020-05-24 17:29:48 -07:00
|
|
|
|
2020-05-24 17:43:55 -07:00
|
|
|
<div class="setting-item">
|
|
|
|
<h2>{{ $t('settings.notification_setting_privacy') }}</h2>
|
|
|
|
<p>
|
2020-06-26 14:56:31 -07:00
|
|
|
<Checkbox v-model="notificationSettings.hide_notification_contents">
|
|
|
|
{{ $t('settings.notification_setting_hide_notification_contents') }}
|
2020-05-24 17:43:55 -07:00
|
|
|
</Checkbox>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<div class="setting-item">
|
|
|
|
<p>{{ $t('settings.notification_mutes') }}</p>
|
|
|
|
<p>{{ $t('settings.notification_blocks') }}</p>
|
|
|
|
<button
|
|
|
|
class="btn btn-default"
|
|
|
|
@click="updateNotificationSettings"
|
2020-05-03 07:36:12 -07:00
|
|
|
>
|
2020-05-24 17:43:55 -07:00
|
|
|
{{ $t('general.submit') }}
|
|
|
|
</button>
|
|
|
|
</div>
|
2020-05-03 07:36:12 -07:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
2020-05-09 20:46:06 -07:00
|
|
|
<script src="./notifications_tab.js"></script>
|
2020-05-03 07:36:12 -07:00
|
|
|
<!-- <style lang="scss" src="./profile.scss"></style> -->
|