diff options
author | Georg Ehrke <developer@georgehrke.com> | 2020-08-25 17:46:11 +0200 |
---|---|---|
committer | Georg Ehrke <developer@georgehrke.com> | 2020-08-31 16:55:54 +0200 |
commit | dbef68b3974891bc67ad28791b3926c9f617d5da (patch) | |
tree | 8273e65410e10ec15666e236313be0972f889936 /apps/user_status/src | |
parent | 1c22004bf44e92b6659e9c76f0aadf23b9025c35 (diff) | |
download | nextcloud-server-dbef68b3974891bc67ad28791b3926c9f617d5da.tar.gz nextcloud-server-dbef68b3974891bc67ad28791b3926c9f617d5da.zip |
User Status: Display hint that DND mutes all notifications
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'apps/user_status/src')
-rw-r--r-- | apps/user_status/src/App.vue | 8 | ||||
-rw-r--r-- | apps/user_status/src/services/statusOptionsService.js | 1 |
2 files changed, 5 insertions, 4 deletions
diff --git a/apps/user_status/src/App.vue b/apps/user_status/src/App.vue index 7338c8f98c7..40f8a16e9f5 100644 --- a/apps/user_status/src/App.vue +++ b/apps/user_status/src/App.vue @@ -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" diff --git a/apps/user_status/src/services/statusOptionsService.js b/apps/user_status/src/services/statusOptionsService.js index f429d6b189f..9c646915a65 100644 --- a/apps/user_status/src/services/statusOptionsService.js +++ b/apps/user_status/src/services/statusOptionsService.js @@ -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', }, { |