Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'web/html/component')
-rw-r--r--web/html/component/aClientTable.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/web/html/component/aClientTable.html b/web/html/component/aClientTable.html
index 96bd502f..359e6e74 100644
--- a/web/html/component/aClientTable.html
+++ b/web/html/component/aClientTable.html
@@ -278,4 +278,30 @@
</a-badge>
</a-popover>
</template>
+<template slot="createdAt" slot-scope="text, client, index">
+ <template v-if="client.created_at">
+ <template v-if="app.datepicker === 'gregorian'">
+ [[ DateUtil.formatMillis(client.created_at) ]]
+ </template>
+ <template v-else>
+ [[ DateUtil.convertToJalalian(moment(client.created_at)) ]]
+ </template>
+ </template>
+ <template v-else>
+ -
+ </template>
+</template>
+<template slot="updatedAt" slot-scope="text, client, index">
+ <template v-if="client.updated_at">
+ <template v-if="app.datepicker === 'gregorian'">
+ [[ DateUtil.formatMillis(client.updated_at) ]]
+ </template>
+ <template v-else>
+ [[ DateUtil.convertToJalalian(moment(client.updated_at)) ]]
+ </template>
+ </template>
+ <template v-else>
+ -
+ </template>
+</template>
{{end}}