From 0c825addb1e7b88276f861fde9344e77fe6e5f43 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Herbinet?=
<33763786+Jerome-Herbinet@users.noreply.github.com>
Date: Tue, 25 Apr 2023 09:05:33 +0200
Subject: [PATCH] Following nimishavijay's suggestion
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
---
src/components/card/CardSidebar.vue | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/components/card/CardSidebar.vue b/src/components/card/CardSidebar.vue
index b75708f68..460d99aba 100644
--- a/src/components/card/CardSidebar.vue
+++ b/src/components/card/CardSidebar.vue
@@ -147,10 +147,10 @@ export default {
return this.$store.getters.cardById(this.id)
},
subtitle() {
- return '' + t('deck', 'Created') + ' : ' + this.relativeDate(this.currentCard.createdAt * 1000) + '
' + t('deck', 'Modified') + ' : ' + this.relativeDate(this.currentCard.lastModified * 1000)
+ return t('deck', 'Modified') + ': ' + this.relativeDate(this.currentCard.lastModified * 1000) + ' ⸱ ' + t('deck', 'Created') + ': ' + this.relativeDate(this.currentCard.createdAt * 1000)
},
subtitleTooltip() {
- return t('deck', 'Created') + ' : ' + this.formatDate(this.currentCard.createdAt) + '\n' + t('deck', 'Modified') + ' : ' + this.formatDate(this.currentCard.lastModified)
+ return t('deck', 'Modified') + ': ' + this.formatDate(this.currentCard.lastModified) + '\n' + t('deck', 'Created') + ': ' + this.formatDate(this.currentCard.createdAt)
},
cardRichObject() {
return {