User Status: Display hint that DND mutes all notifications

Signed-off-by: Georg Ehrke <developer@georgehrke.com>
This commit is contained in:
Georg Ehrke 2020-08-25 17:46:11 +02:00
parent 1c22004bf4
commit dbef68b397
No known key found for this signature in database
GPG Key ID: 9D98FD9380A1CB43
4 changed files with 8 additions and 7 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -38,15 +38,15 @@
:key="status.type"
:icon="status.icon"
:close-after-click="true"
:title="status.label"
@click.prevent.stop="changeStatus(status.type)">
{{ status.label }}
{{ status.subline }}
</ActionButton>
<ActionButton
icon="icon-rename"
:close-after-click="true"
@click.prevent.stop="openModal">
{{ $t('user_status', 'Set custom status') }}
</ActionButton>
:title="$t('user_status', 'Set custom status')"
@click.prevent.stop="openModal" />
</Actions>
<SetStatusModal
v-if="isModalOpen"

View File

@ -38,6 +38,7 @@ const getAllStatusOptions = () => {
}, {
type: 'dnd',
label: t('user_status', 'Do not disturb'),
subline: t('user_status', 'Mute all notifications'),
icon: 'icon-user-status-dnd',
}, {