yandere_fe/src/components/settings_modal/tabs/notifications_tab.vue

35 lines
1.1 KiB
Vue
Raw Normal View History

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>
<p>
<Checkbox v-model="notificationSettings.block_from_strangers">
{{ $t('settings.notification_setting_block_from_strangers') }}
</Checkbox>
</p>
2020-05-03 07:36:12 -07:00
</div>
2020-05-24 17:43:55 -07:00
<div class="setting-item">
<h2>{{ $t('settings.notification_setting_privacy') }}</h2>
<p>
<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 button-default"
2020-05-24 17:43:55 -07:00
@click="updateNotificationSettings"
2020-05-03 07:36:12 -07:00
>
{{ $t('settings.save') }}
2020-05-24 17:43:55 -07:00
</button>
</div>
2020-05-03 07:36:12 -07:00
</div>
</template>
<script src="./notifications_tab.js"></script>
2020-05-03 07:36:12 -07:00
<!-- <style lang="scss" src="./profile.scss"></style> -->