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

40 lines
1.2 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>
<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: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 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>
<script src="./notifications_tab.js"></script>
2020-05-03 07:36:12 -07:00
<!-- <style lang="scss" src="./profile.scss"></style> -->