From 126d14e34beeaf3c0b7cf74ce9d8722bb048488d Mon Sep 17 00:00:00 2001 From: pypy Date: Sat, 30 Jan 2021 04:37:39 +0900 Subject: [PATCH] show date joined --- html/src/app.js | 3 +++ html/src/index.pug | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/html/src/app.js b/html/src/app.js index 3f061d06..3a704071 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -852,6 +852,7 @@ speechSynthesis.getVoices(); developerType: json.developerType, last_login: json.last_login, last_platform: json.last_platform, + date_joined: json.date_joined, allowAvatarCopying: json.allowAvatarCopying, isFriend: false, location: ($app.isGameRunning === true) @@ -1079,6 +1080,7 @@ speechSynthesis.getVoices(); developerType: '', last_login: '', last_platform: '', + date_joined: '', allowAvatarCopying: false, onlineFriends: [], activeFriends: [], @@ -1174,6 +1176,7 @@ speechSynthesis.getVoices(); developerType: '', last_login: '', last_platform: '', + date_joined: '', allowAvatarCopying: false, isFriend: false, location: '', diff --git a/html/src/index.pug b/html/src/index.pug index dcb00777..f3257d16 100644 --- a/html/src/index.pug +++ b/html/src/index.pug @@ -838,8 +838,8 @@ html span.extra {{ userDialog.ref.last_login | formatDate('YYYY-MM-DD HH24:MI:SS') || '-' }} .x-friend-item(style="cursor:default") .detail - span.name Last Platform - span.extra(v-text="userDialog.ref.last_platform") + span.name Date Joined + span.extra(v-text="userDialog.ref.date_joined") .x-friend-item(v-if="userDialog.ref.id === API.currentUser.id && API.currentUser.homeLocation" @click="showWorldDialog(API.currentUser.homeLocation)" style="width:100%") .detail span.name Home Location