summaryrefslogtreecommitdiffstats
path: root/apps/dashboard
diff options
context:
space:
mode:
authorJan C. Borchardt <hey@jancborchardt.net>2020-08-07 15:57:38 +0200
committerJan C. Borchardt <hey@jancborchardt.net>2020-08-07 15:57:38 +0200
commitdf069403178528e9a829f5499c66cbebedbabf48 (patch)
tree4033c73f89897ab350b9f723fe6de9dad7f55165 /apps/dashboard
parentd12dd3370eff809c729e8fd9548ab63161971731 (diff)
downloadnextcloud-server-df069403178528e9a829f5499c66cbebedbabf48.tar.gz
nextcloud-server-df069403178528e9a829f5499c66cbebedbabf48.zip
Dashboard: Remove icons from greeting
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'apps/dashboard')
-rw-r--r--apps/dashboard/src/App.vue13
1 files changed, 5 insertions, 8 deletions
diff --git a/apps/dashboard/src/App.vue b/apps/dashboard/src/App.vue
index d73f895fc91..d9bae1aecbc 100644
--- a/apps/dashboard/src/App.vue
+++ b/apps/dashboard/src/App.vue
@@ -1,6 +1,6 @@
<template>
<div id="app-dashboard">
- <h2>{{ greeting.icon }} {{ greeting.text }}</h2>
+ <h2>{{ greeting.text }}</h2>
<div class="statuses">
<div v-for="status in registeredStatus"
:id="'status-' + status"
@@ -106,18 +106,15 @@ export default {
const shouldShowName = this.displayName && this.uid !== this.displayName
if (time > 18) {
- return { icon: '🌙', text: shouldShowName ? t('dashboard', 'Good evening, {name}', { name: this.displayName }) : t('dashboard', 'Good evening') }
+ return { text: shouldShowName ? t('dashboard', 'Good evening, {name}', { name: this.displayName }) : t('dashboard', 'Good evening') }
}
if (time > 12) {
- return { icon: '☀', text: shouldShowName ? t('dashboard', 'Good afternoon, {name}', { name: this.displayName }) : t('dashboard', 'Good afternoon') }
- }
- if (time === 12) {
- return { icon: '🍽', text: shouldShowName ? t('dashboard', 'Time for lunch, {name}', { name: this.displayName }) : t('dashboard', 'Time for lunch') }
+ return { text: shouldShowName ? t('dashboard', 'Good afternoon, {name}', { name: this.displayName }) : t('dashboard', 'Good afternoon') }
}
if (time > 5) {
- return { icon: '🌄', text: shouldShowName ? t('dashboard', 'Good morning, {name}', { name: this.displayName }) : t('dashboard', 'Good morning') }
+ return { text: shouldShowName ? t('dashboard', 'Good morning, {name}', { name: this.displayName }) : t('dashboard', 'Good morning') }
}
- return { icon: '🦉', text: shouldShowName ? t('dashboard', 'Have a night owl, {name}', { name: this.displayName }) : t('dashboard', 'Have a night owl') }
+ return {text: shouldShowName ? t('dashboard', 'Good night, {name}', { name: this.displayName }) : t('dashboard', 'Have a night owl') }
},
isActive() {
return (panel) => this.layout.indexOf(panel.id) > -1