Skip to content

Commit

Permalink
User Status: Display hint that DND mutes all notifications
Browse files Browse the repository at this point in the history
Signed-off-by: Georg Ehrke <[email protected]>
  • Loading branch information
georgehrke committed Aug 31, 2020
1 parent 1c22004 commit dbef68b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions apps/user_status/js/user-status-menu.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/user_status/js/user-status-menu.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions apps/user_status/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions apps/user_status/src/services/statusOptionsService.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',

}, {
Expand Down

0 comments on commit dbef68b

Please sign in to comment.