Last Activity

This commit is contained in:
Natsumi
2022-05-17 11:09:14 +12:00
parent 36ef398dda
commit 308e1f4143
+7 -4
View File
@@ -709,8 +709,8 @@ html
span.extra(v-text="API.currentUser.username") span.extra(v-text="API.currentUser.username")
.x-friend-item(style="cursor:default") .x-friend-item(style="cursor:default")
.detail .detail
span.name Last Login span.name Last Activity
span.extra {{ API.currentUser.last_login | formatDate('long') }} span.extra {{ API.currentUser.last_activity | formatDate('long') }}
.x-friend-item(style="cursor:default") .x-friend-item(style="cursor:default")
.detail .detail
span.name Two-Factor Auth (2FA) span.name Two-Factor Auth (2FA)
@@ -900,6 +900,9 @@ html
el-table-column(label="Last Seen" width="170" prop="$lastSeen" sortable :sort-method="(a, b) => sortAlphabetically(a, b, '$lastSeen')") el-table-column(label="Last Seen" width="170" prop="$lastSeen" sortable :sort-method="(a, b) => sortAlphabetically(a, b, '$lastSeen')")
template(v-once #default="scope") template(v-once #default="scope")
span {{ scope.row.$lastSeen | formatDate('long') }} span {{ scope.row.$lastSeen | formatDate('long') }}
el-table-column(label="Last Activity" width="170" prop="last_activity" sortable :sort-method="(a, b) => sortAlphabetically(a, b, 'last_activity')")
template(v-once #default="scope")
span {{ scope.row.last_activity | formatDate('long') }}
el-table-column(label="Last Login" width="170" prop="last_login" sortable :sort-method="(a, b) => sortAlphabetically(a, b, 'last_login')") el-table-column(label="Last Login" width="170" prop="last_login" sortable :sort-method="(a, b) => sortAlphabetically(a, b, 'last_login')")
template(v-once #default="scope") template(v-once #default="scope")
span {{ scope.row.last_login | formatDate('long') }} span {{ scope.row.last_login | formatDate('long') }}
@@ -1541,8 +1544,8 @@ html
span.extra(v-text="userOnlineFor(userDialog)") span.extra(v-text="userOnlineFor(userDialog)")
.x-friend-item(style="cursor:default") .x-friend-item(style="cursor:default")
.detail .detail
span.name Last Login span.name Last Activity
span.extra {{ userDialog.ref.last_login | formatDate('long') }} span.extra {{ userDialog.ref.last_activity | formatDate('long') }}
.x-friend-item(style="cursor:default") .x-friend-item(style="cursor:default")
.detail .detail
span.name Date Joined span.name Date Joined