mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
Modify dashboard welcome sentences
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
This commit is contained in:
parent
5a1874910b
commit
4b9d47fa53
1 changed files with 5 additions and 2 deletions
|
|
@ -39,7 +39,7 @@ export default {
|
|||
const time = this.timer.getHours()
|
||||
|
||||
if (time > 18) {
|
||||
return t('dashboard', '🌙 Good evening')
|
||||
return t('dashboard', '🌙 Time to call it a day')
|
||||
}
|
||||
if (time > 12) {
|
||||
return t('dashboard', '☀ Good afternoon')
|
||||
|
|
@ -47,7 +47,10 @@ export default {
|
|||
if (time === 12) {
|
||||
return t('dashboard', '🍽 Time for lunch')
|
||||
}
|
||||
return t('dashboard', '🌄 Good morning')
|
||||
if (time > 5) {
|
||||
return t('dashboard', '🌄 Good morning')
|
||||
}
|
||||
return t('dashboard', '🦉 Have a night owl')
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue