mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-04 06:06:16 +02:00
@@ -1,8 +1,8 @@
|
||||
<template>
|
||||
<div class="mkw-notifications">
|
||||
<mk-widget-container :show-header="!props.compact">
|
||||
<template slot="header"><fa :icon="['far', 'bell']"/>%i18n:@title%</template>
|
||||
<!-- <button slot="func" title="%i18n:@settings%" @click="settings"><fa icon="cog"/></button> -->
|
||||
<template slot="header"><fa :icon="['far', 'bell']"/>{{ $t('title') }}</template>
|
||||
<!-- <button slot="func" :title="$t('title')" @click="settings"><fa icon="cog"/></button> -->
|
||||
|
||||
<mk-notifications :class="$style.notifications"/>
|
||||
</mk-widget-container>
|
||||
@@ -11,12 +11,15 @@
|
||||
|
||||
<script lang="ts">
|
||||
import define from '../../../common/define-widget';
|
||||
import i18n from '../../../i18n';
|
||||
|
||||
export default define({
|
||||
name: 'notifications',
|
||||
props: () => ({
|
||||
compact: false
|
||||
})
|
||||
}).extend({
|
||||
i18n: i18n('desktop/views/widgets/notifications.vue'),
|
||||
methods: {
|
||||
settings() {
|
||||
alert('not implemented yet');
|
||||
|
||||
Reference in New Issue
Block a user