From adce75ab8f93d52a4e15ec3a279a6261741b8c98 Mon Sep 17 00:00:00 2001 From: Ralph Slooten Date: Tue, 13 Jun 2023 15:53:18 +1200 Subject: [PATCH] UI: Display message tags below subject in message overview --- server/ui-src/App.vue | 41 ++++++++++++++++++++++++++++++++--------- 1 file changed, 32 insertions(+), 9 deletions(-) diff --git a/server/ui-src/App.vue b/server/ui-src/App.vue index 16e9b2f..dd1ec39 100644 --- a/server/ui-src/App.vue +++ b/server/ui-src/App.vue @@ -100,6 +100,27 @@ export default { fallback: false }); + moment.updateLocale('en', { + relativeTime: { + future: "in %s", + past: "%s ago", + s: 'seconds', + ss: '%d secs', + m: "a minute", + mm: "%d mins", + h: "an hour", + hh: "%d hours", + d: "a day", + dd: "%d days", + w: "a week", + ww: "%d weeks", + M: "a month", + MM: "%d months", + y: "a year", + yy: "%d years" + } + }); + this.connect(); this.getUISettings(); this.loadMessages(); @@ -906,13 +927,13 @@ export default { -
+