User Status: Display hint that DND mutes all notifications
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
This commit is contained in:
parent
1c22004bf4
commit
dbef68b397
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -38,15 +38,15 @@
|
||||||
:key="status.type"
|
:key="status.type"
|
||||||
:icon="status.icon"
|
:icon="status.icon"
|
||||||
:close-after-click="true"
|
:close-after-click="true"
|
||||||
|
:title="status.label"
|
||||||
@click.prevent.stop="changeStatus(status.type)">
|
@click.prevent.stop="changeStatus(status.type)">
|
||||||
{{ status.label }}
|
{{ status.subline }}
|
||||||
</ActionButton>
|
</ActionButton>
|
||||||
<ActionButton
|
<ActionButton
|
||||||
icon="icon-rename"
|
icon="icon-rename"
|
||||||
:close-after-click="true"
|
:close-after-click="true"
|
||||||
@click.prevent.stop="openModal">
|
:title="$t('user_status', 'Set custom status')"
|
||||||
{{ $t('user_status', 'Set custom status') }}
|
@click.prevent.stop="openModal" />
|
||||||
</ActionButton>
|
|
||||||
</Actions>
|
</Actions>
|
||||||
<SetStatusModal
|
<SetStatusModal
|
||||||
v-if="isModalOpen"
|
v-if="isModalOpen"
|
||||||
|
|
|
@ -38,6 +38,7 @@ const getAllStatusOptions = () => {
|
||||||
}, {
|
}, {
|
||||||
type: 'dnd',
|
type: 'dnd',
|
||||||
label: t('user_status', 'Do not disturb'),
|
label: t('user_status', 'Do not disturb'),
|
||||||
|
subline: t('user_status', 'Mute all notifications'),
|
||||||
icon: 'icon-user-status-dnd',
|
icon: 'icon-user-status-dnd',
|
||||||
|
|
||||||
}, {
|
}, {
|
||||||
|
|
Loading…
Reference in New Issue