Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2020-08-25 18:46:11 +0300
committerGeorg Ehrke <developer@georgehrke.com>2020-08-31 17:55:54 +0300
commitdbef68b3974891bc67ad28791b3926c9f617d5da (patch)
tree8273e65410e10ec15666e236313be0972f889936 /apps/user_status/src
parent1c22004bf44e92b6659e9c76f0aadf23b9025c35 (diff)
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.vue8
-rw-r--r--apps/user_status/src/services/statusOptionsService.js1
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',
}, {